Search
92 results for “cloudbit_global”
-
Deployed my CloudKit dev schema to production without breaking the currently shipping app.
Seems like a good point to end work for the week.
-
#iosdev #buildInPublic #coredata #cloudKit
Enough for tonight. Tomorrow I'll start prototyping the migration from explicitly ordered many:many to implicitly ordered via intermediate attributed relationship objects.
13/n
-
#iosdev #buildInPublic #coredata #cloudKit I also have make sure I'm selecting the Private database and the com.apple.coredata.cloudkit'recordName' is not marked queryable
https://lyons.app/2021/07/05/how-to-fix-field-recordname-is-not-marked-queryable-in-cloudkit/
gave me the answer: I have to modify the schema by adding a queryable index called recordName to the recordName metadata field for each record type so I can view the records. I also have make sure I'm selecting the Private database and the com.apple.coredata.cloudkit zone.
12/n
Edit: to fix link -
#iosdev #buildInPublic #coredata #cloudKit
Got the demo working after some annoying debug sessions. Seems like it has not been revisited since 2022, and iOS 18 changed the behaviour of collectionView.dequeueReusableCell - as of iOS 18 it asserts if you call it outside of cellForItemAt indexpath. it was being called in awakeFromNib to set a font.
You would think that a company with the resources of Apple would at a minimum task interns to COMPILE AND RUN demos called out in the docs 11/n
-
#iosdev #buildInPublic #coredata #cloudKit
There is some Apple demo code from WWDC 2022 that gives an example of deduplication on CloudKit sync. It's a simplified demo but it does give an example of a many:many (unordered) relationship. Let's see if we can get it running.
https://developer.apple.com/documentation/coredata/synchronizing-a-local-store-to-the-cloud10/n
-
hardest parts:
• CloudKit's dynamic types (STRING, INT64, ASSET) vs OpenAPI's static types
• 3 different auth methods
• making generated code ergonomictook 3 months evenings/weekends vs probably a year solo
part 2 coming: real-world testing & bugs found 😅
Both posts are well under 400 characters and flow nicely as a thread!
-
Are there any good CloudKit packages that help with syncing a Core Data database?
I'm really fed up with both NSPersistentCloudKitContainer and CKSyncEngine. It's just too complex for a single developer. It's really hindering my ability to create new features if I always have this in the back of my head. I wonder if building a custom solution on my own server is better at this point to not have to talk to a black hole, that is iCloud.
-
#APNS #Notifications #CloudKit
Just requested notificationn service filtering entitlement for @tact. I’m reworking how I’m doing notifications.
Since CloudKit does not have something like cloud functions to granularly configure whether a given notification gets delivered to a current user based on that user’s state (which it totally should do btw), I need to filter on the client side.
Has anyone else requested this entitlement? I wonder how long will it take?
-
Using Core Data With CloudKit
#Database #CoreData #CloudKit #ObjectStore #macOS #iOS #Programming #Swift
https://www.wwdcnotes.com/notes/wwdc19/202/ -
#WWDC #WWDC23 #CloudKit #CKSyncEngine
I was curious to see the CloudKitSyncEngine presentation by @_tim______ since I recently published a related project. Did I get Sherlocked?
Looks like “no”. Design goals behind Canopy and CKSyncEngine are sufficiently different. Biggest difference being that Canopy thinks in terms of “request/response”, which is lower level than “sync”, and stateless.
I’ll write up something longer one day. Check out Canopy in the mean time.
-
7 Best Ethereum Casinos - Cloudbet: Ethereum gambling site in operation since 2013, offering multiple casin... - https://coingape.com/gambling/ethereum-casinos/ #gambling101 #top
-
#WWDC #WWDC23 #CloudKit #CKSyncEngine
I was curious to see the CloudKitSyncEngine presentation by @_tim______ since I recently published a related project. Did I get Sherlocked?
Looks like “no”. Design goals behind Canopy and CKSyncEngine are sufficiently different. Biggest difference being that Canopy thinks in terms of “request/response”, which is lower level than “sync”, and stateless.
I’ll write up something longer one day. Check out Canopy in the mean time.
-
#WWDC #WWDC23 #CloudKit #CKSyncEngine
I was curious to see the CloudKitSyncEngine presentation by @_tim______ since I recently published a related project. Did I get Sherlocked?
Looks like “no”. Design goals behind Canopy and CKSyncEngine are sufficiently different. Biggest difference being that Canopy thinks in terms of “request/response”, which is lower level than “sync”, and stateless.
I’ll write up something longer one day. Check out Canopy in the mean time.
-
#WWDC #WWDC23 #CloudKit #CKSyncEngine
I was curious to see the CloudKitSyncEngine presentation by @_tim______ since I recently published a related project. Did I get Sherlocked?
Looks like “no”. Design goals behind Canopy and CKSyncEngine are sufficiently different. Biggest difference being that Canopy thinks in terms of “request/response”, which is lower level than “sync”, and stateless.
I’ll write up something longer one day. Check out Canopy in the mean time.
-
#WWDC #WWDC23 #CloudKit #CKSyncEngine
I was curious to see the CloudKitSyncEngine presentation by @_tim______ since I recently published a related project. Did I get Sherlocked?
Looks like “no”. Design goals behind Canopy and CKSyncEngine are sufficiently different. Biggest difference being that Canopy thinks in terms of “request/response”, which is lower level than “sync”, and stateless.
I’ll write up something longer one day. Check out Canopy in the mean time.
-
And here is the blog post detailing the changes.
https://smork.info/blog/posts/beer-diary-version-2-4-released/
-
#indiedev #irishmusic #iosdev #buildInPublic #coredata #cloudKit
As an aside - I've learned a lot about CoreData and CloudKit from @fatbobman's blog.
-
#indiedev #irishmusic #iosdev #buildInPublic #coredata #cloudKit
Apple has improved their migration support since I last looked - migrating to the data model outlined above would work as a staged migration:
- add the new entities and any attributes needed to define ordering or deduplication
- populate the intermediate attributed relationships
- delete the old entitieshttps://developer.apple.com/documentation/coredata/staged-migrations
Now we can safely move from NSPersistentContainer to a NSPersistentCloudKitContainer
8/n -
#indiedev #irishmusic #iosdev #buildInPublic #coredata #cloudKit
Now we've sketched out a workable data model that works in both coreData and CloudKit, we need to work out:
- how to migrate from the existing model to the new one without losing data.
- how to handle merging databases from different devices given that the user might have duplicate entries or collections with different members or different ordering7/n
-
#indiedev #irishmusic #iosdev #buildInPublic #coredata #cloudKit
diagrams of where we are so far…
6/n -
#indiedev #irishmusic #iosdev #buildInPublic #coredata #cloudKit
The second case is a little more complex. Collections can contain Tunes and TuneSets. By default, they are time-ordered when users add to their contents. Users can also reorder them, and I've had requests (not yet implemented) for alphabetical and most-recent first ordering.
A superclass (Searchable) inherited by both TuneSet and Tune allows for containment of both in a Collection.5/n
-
#indiedev #irishmusic #iosdev #buildInPublic #coredata #cloudKit
Tune to TuneSet is a many:many relationship ordered by the tunes’ play order. Functionally, the user can add Tunes to TuneSets and re-order or remove them. We must convert the many:many relationship to an intermediate object with an ordering attribute that we can use when we retrieve a TuneSet. We will have to be able to manipulate the ordering attribute to let the user drag Tunes to re-order them in the UI.
4/n -
#indiedev #irishmusic #iosdev #buildInPublic #coredata
To zoom in a bit on the problem at hand: #cloudKit is the obvious choice for sync between devices. Apple's documentation would have you believe that all you need to do is change your NSPersistentContainer to a NSPersistentCloudKitContainer and all will be well!
Not so fast.
First of all, the coredata and cloudkit data models have to be compatible. In this case, we find the dreaded OrderedRelationship in two places.
3/n -
I am still checking, butI think that I have encountered this:
https://developer.apple.com/forums/thread/734079?answerId=759407022#759407022
#CoreData presumably created a new CloudKit CKAsset field for an `externalStorage` property at runtime when it encountered an asset that is too large for the database. This causes automatic #SwiftData CloudKit sync to fail because that record doesn't exist in the server.
If so, this is broken, it should create all fields it'll eventually need so that they can be properly added to the production CloudKit schema.
-
7 Best FIFA World Cup 2022 Crypto Sports Betting Websites – Here’s Trending List - The FIFA World Cup 2022 is in full swing, as is the joy of fans around the world. ... - https://coingape.com/blog/7-best-fifa-world-cup-2022-crypto-sports-betting-websites-heres-trending-list/ #fifaworldcup2022 #cloudbet #winz.io #stake #blog
-
TestFlight installations are working as expected as well.
Very stressful.
What helped me before deploying was wiping the dev schema frequently and installing the original app and schema from dev then testing new builds/schemas on device.
Then use the CloudKit console tools to review the schemas. You can review the schema changes by selecting Deploy Schema changes.
I found that seeing the diff helps to understand the scope of the changes.
-
Just submitted the final beta for LifePace, my new habit tracker.
TestFlight, details & video: https://cdf1982.com/lifepace/lifepace-presskit.html
Really proud of this one: juggling 4 platforms (iPhone, iPad, Mac & Watch) with Shortcuts, Widgets, Complications, Liquid Glass, FoundationModels and CloudKit sync was a lot of surface to cover, but I think it's a solid 1.0!
🤞for some press coverage when it launches on iOS 26 day 👀
#TestFlight #newapp #iOS26 #iPadOS26 #Tahoe #watchOS #Shortcuts #Widgets
-
Aggiornamenti importanti nell'Apple Developer Program License Agreement:
- 📜 Nuove norme sul codice interpretato.
- 🌐 Chiarimenti per Xcode Cloud e CloudKit.
- 📍 Specifiche per il servizio di estensione push di localizzazione. -
RE: https://mastodon.social/@lukaskubanek/116317203336604688
Delivery of CloudKit notifications looks broken in iOS 26.4
One of the core technologies and services of the platform does not work
And the best guidance Apple has to offer to developers is “file a FB and maybe we take a look. Make sure you generate lots of duplicate FBs because otherwise we will not take it seriously”
Okay then