Posts

Post not yet marked as solved
5 Replies
At the end of the day, SwiftData is just a bunch of swift classes, and so it can be as simple or complex as you want to make them. Have you figured out how to link SwiftData with CloudKit containers? I'm still trying to work that out. The ModelContainer is created in the body of the app, and that doesn't take a cloud kit container name. I'd love to see a sample of how you're doing that.
Post not yet marked as solved
5 Replies
What do you mean that CKSyncEngine is a third-party framework? It's a native part of CloudKit. I'm just starting to play with this myself, but as far as I can tell you can use SwiftData with CKSyncEngine. The sample Apple provided, at https://github.com/apple/sample-cloudkit-sync-engine, shows linking CloudKit to your model. The model could be a SwiftData model that just includes something like a var cloudKitRecordId: CKRecord.ID? property.
Post not yet marked as solved
4 Replies
You probably did something like this: NavigationView { 	ContentView() 		.environmentObject(yourObject) } whereas you have to do this instead (i.e. put the environmentObject *outside* the NavigationView NavigationView { 	ContentView() } .environmentObject(yourObject)
Post not yet marked as solved
1 Replies
Please ignore this, I was running the wrong project on the simulator :(
Post not yet marked as solved
5 Replies
> The user's device is an iOS iPhoneThat's true, but that doesn't help. PassKit creates an identifier for the device and that's what is tracked. I wouldn't have a way to associate that device to the pass, as far as I can tell.
Post not yet marked as solved
5 Replies
If the user scans something then the vendor's database doesn't know who the user is.
Post not yet marked as solved
2 Replies
I'm starting from scratch. In the ideal situation there wouldn't be an app, just the store card for the wallet. The vendor already takes apple pay, and just wants to switch from a paper wallet punch card to an Apple Wallet item.
Post marked as solved
7 Replies
Know this is an old thread, but it's funny to find since the suggestion is "don't require that" but with Sign In with Apple, it's now required that we do this since you're providing the public JWK and we thus need to take the modulus and exponent and convert it manually.
Post not yet marked as solved
3 Replies
https://developer.apple.com/account/resources/services/configure