Post

Replies

Boosts

Views

Activity

Reply to Can't start a game in Game Center (GameKit)
After analyzing almost line by line the real time game sample given by Apple, I found one little difference, I didn't have the Group Activities entitlement. After adding this, the multiplayer game started working again. Probably this was not a requirement in previous versions, I don't know, but problem solved. I supposed Apple could give a better error message, though.
Topic: Graphics & Games SubTopic: GameKit Tags:
Jan ’24
Reply to PhaseAnimator on presented View crashes the app
I'm having the exact same problem and it made me lose a lot of time. I tried using opacity to show/hide the view that I wanted to animate and it worked until I tried to "navigate" to another view and the UI got unresponsive. There is a loop and a possible memory leak happening. It seems I will need to use the timer trick for now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23
Reply to Cloudkit per user?
Private database: uses the storage of the user. Shared database: uses the storage of the owner of the data. Public database: up to certain capacity is free (depending on the number of users), more than that is charged to you, the developer. (as fas as I know).
Topic: App & System Services SubTopic: iCloud Tags:
Sep ’21
Reply to Can't start a game in Game Center (GameKit)
After analyzing almost line by line the real time game sample given by Apple, I found one little difference, I didn't have the Group Activities entitlement. After adding this, the multiplayer game started working again. Probably this was not a requirement in previous versions, I don't know, but problem solved. I supposed Apple could give a better error message, though.
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to PhaseAnimator on presented View crashes the app
I'm having the exact same problem and it made me lose a lot of time. I tried using opacity to show/hide the view that I wanted to animate and it worked until I tried to "navigate" to another view and the UI got unresponsive. There is a loop and a possible memory leak happening. It seems I will need to use the timer trick for now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Please explain how to use MapProxy and MapReader
I thought the same, but it seems that the MapProxy is only useful to convert point into coordinates (plus other conversions). I was hoping to get the current map zoom, orientation, rect, etc... when the user changes the map, but I haven't found any way, yet :(
Replies
Boosts
Views
Activity
Jul ’23
Reply to No NSEntityDescriptions in any model claim the NSManagedObject subclass 'CoreDataExampleTests.TodoMO' so +entity is confused
I haven't use XCTest yet, but probably it's the same problem, maybe you need to pass/set your MOC in another way. I don't think the problem is your PersistentStore or DataManager class.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to No NSEntityDescriptions in any model claim the NSManagedObject subclass 'CoreDataExampleTests.TodoMO' so +entity is confused
I have gotten a similar error when in SwiftUI the environment NSManagedObjectContext is unknown. For example in the Previews.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Why does a participant of a share not have a record referenced by the root record?
Did you set the parent in the child record?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Cloudkit per user?
Private database: uses the storage of the user. Shared database: uses the storage of the owner of the data. Public database: up to certain capacity is free (depending on the number of users), more than that is charged to you, the developer. (as fas as I know).
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to iOS 15 beta 4 CloudKit Auth Error
iOS 15 Beta 5 fixed the problem that my ad-hoc app was having on the devices with beta 4. Hopefully, there will be an Xcode beta 5 today, too.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’21