Post

Replies

Boosts

Views

Activity

Reply to Current CloudKit pricing?
I’m considering adding photo attachments to public db storage in my app. I’d held off in light of the free limits a couple of years ago but thought I’d revisit the topic. Apple is doing us no favor by making the pricing info opaque. Has anyone found a resource for this?
Jul ’23
Reply to NavigationSplitView not working as shown in "What's new with SwiftUI" session
I found that appending an .id modifier to the detail column resolved the problem for me:          } detail: {             if let selectedCocktail {                CocktailDetailView(pCocktail: selectedCocktail)                   .navigationTitle("(selectedCocktail.favorite ? "(profile.userData.favoriteCocktailsIcon.rawValue)" : "") (selectedCocktail.cocktailName ?? "")")                   .id(selectedCocktail.id) //workaround }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’23
Reply to Core Data+CloudKit causing duplication after second device app install
Never mind...I read Consuming Relevant Store Changes in Apple docs and downloaded the sample project Synchronizing a Local Store to the Cloud from 2019. The needed deduplication code is explained and shown in the former and executed in the latter. Beware: there is a code error in the sample project. You want to register for remote change notifications fired by the container.persistentStoreCoordinator, not the container itself.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’20
Reply to NSPersistentCloudKitContainer not syncing existing data
Any resolution to this issue? I decode a large data set from a JSON file upon first run of my iOS app. Two simulator devices running on the same iCloud account credentials both "upload" their data set to the cloud although the sets are in all ways identical. A restart of each app shows double entries. Subsequently added data items are synced but not duplicated. Items have a UUID id which is identical between devices. Puzzling how to deliver the app with the desired large data set intact without causing duplicate entries. Is the toggle-a-boolean work-around the only way?
Sep ’20