Post

Replies

Boosts

Views

Activity

Reply to CoreData persistent history tracking with legacy stack and Objective C
is the question, you are building a new version of your app and want to load an existing store from an old version, and also enable history, does that work and what are the implications? My suggestion is to build a test app, define a core data schema, run the app, generate and save some test data, quit the app, enable the history bit, and launch again, does the call to load stores fail in some way? and if it succeeds, when you add new data, what does the history show?
Topic: Community SubTopic: Apple Developers Tags:
Jul ’24
Reply to CloudKit User Discoverability
Totally agree! I wrote a whole essay about it, before Apple deprecated the APIs, pointing out some of the missing elements to make a smooth experience. Now, you just have to allow users to send "share URLs" to each other manually. https://deeje.medium.com/cloudkit-sharing-apple-and-you-900441dbef29
May ’24
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
Topic: Programming Languages SubTopic: Swift Tags:
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
Topic: Spatial Computing SubTopic: ARKit Tags:
Feb ’24