home.social

Search

92 results for “cloudbit_global”

  1. 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 #macOSDev

  2. #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

  3. #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

    lyons.app/2021/07/05/how-to-fi

    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

  4. #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

  5. #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.
    developer.apple.com/documentat

    10/n

  6. hardest parts:
    • CloudKit's dynamic types (STRING, INT64, ASSET) vs OpenAPI's static types
    • 3 different auth methods
    • making generated code ergonomic

    took 3 months evenings/weekends vs probably a year solo

    part 2 coming: real-world testing & bugs found 😅

    #swift #cloudkit #opensource

    Both posts are well under 400 characters and flow nicely as a thread!

  7. 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.

    #SwiftUI #UIKit #CloudKit

  8. #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?

  9. #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.

    github.com/Tact/Canopy

  10. 7 Best Ethereum Casinos - Cloudbet: Ethereum gambling site in operation since 2013, offering multiple casin... - coingape.com/gambling/ethereum #gambling101 #top

  11. #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.

    github.com/Tact/Canopy

  12. #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.

    github.com/Tact/Canopy

  13. #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.

    github.com/Tact/Canopy

  14. #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.

    github.com/Tact/Canopy

  15. #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 entities

    developer.apple.com/documentat

    Now we can safely move from NSPersistentContainer to a NSPersistentCloudKitContainer

    8/n

  16. #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 ordering

    7/n

  17. #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

  18. #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

  19. #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

  20. I am still checking, butI think that I have encountered this:

    developer.apple.com/forums/thr

    #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.

  21. 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. ... - coingape.com/blog/7-best-fifa- #fifaworldcup2022 #cloudbet #winz.io #stake #blog

  22. Synching a large amount of rows through CloudKit is pretty slow? Right now, I upload 20k of rows, and I pretty quickly hit the rate limit. Is it different on production?
    #iosdev #macosdev

  23. 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.

    #iOSDev #macOSDev

  24. Just submitted the final beta for LifePace, my new habit tracker.

    TestFlight, details & video: cdf1982.com/lifepace/lifepace-

    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

  25. 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.

    #AppleDev #XcodeCloud #EUDataAct

    developer.apple.com/news/?id=f

  26. RE: mastodon.social/@lukaskubanek/

    #iCloud #CloudKit #APNS

    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