Post

Replies

Boosts

Views

Activity

Reply to Is it possible to fix slow CKAsset loading on Cloudkit?
ooh ah, you ask a lot of important questions… Is this an expected behavior from using CloudKit? To some degree, yes, as it is specifically designed for backup and sync, and only incidentally does web. Speed is not a feature. That said, you should definitely be using qualityOfService so the system can optimize results. For instance, you might set it high to retrieve thumbnails, and set it low for background uploads. Is CloudKit even a viable option for this kind of app, or is it not designed for this type of app? I think it is viable, though on the public database you have to give very serious consideration to moderation, as well as the limits on public space as it related to the number of users of the app. What alternative approaches could be taken? (Eg. store assets in AWS...) you could go with another cloud service, but then you'd have to consider the costs. Also, regardless of your backend, think thru how to handle large uploads and downloads in the background. For CloudKit, this means leveraging long-lived operations. See CloudCore for an example https://github.com/deeje/CloudCore/blob/master/Source/Classes/Caching/CloudCoreCacheManager.swift
Apr ’24
Reply to ARKit for BIM
Yes it is possible. Treat bar codes as image anchors. Load the identifiable images based on location. Affix your 3D models to entities attached to the detected image anchors. https://developer.apple.com/documentation/arkit/arkit_in_ios/content_anchors/detecting_images_in_an_ar_experience?cmdf=arkit%20image%20anchor
Feb ’24
Reply to How to get SceneKit to update a nodes orientation based on values that update in real time without lagging or stuttering
in UIViewRepresentable.updateUIView, you shouldn't be reloading the scene from disk on each update. that seems expensive if that doesn't make an impact, I'm not familiar with using SceneKit with SwiftUI, so not sure how UIViewRepresentable.updateUIView works with/against a typical SceneRenderDelegate.updateAtTime implementation. fwiw.
Jan ’24
Reply to Follow the body
in visionOS v1.0, full body tracking is not exposed to third party developers. Hand tracking can be requested. https://developer.apple.com/documentation/arkit/handtrackingprovider/?cmdf=visionOS%20hand%20tracking
Jan ’24