Post

Replies

Boosts

Views

Activity

Reply to Can't add values to Relationship?
I'm getting the same error while running on simulator or actual device (Beta 8 and RC versions). In preview it works as expected.  "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unacceptable type of value for to-one relationship: property = "linearity"; desired type = NSManagedObject; given type = NSManagedObject; value = <NSManagedObject: 0x281bc37f0>"
Topic: App & System Services SubTopic: iCloud Tags:
Sep ’23
Reply to Duration not using correct delimiter for locale
I just noticed I left out the first line in my code block above so here it is again in case someone sees this and is confused. let localFormattedTime = duration.formatted( .time(pattern: .minuteSecond(padMinuteToLength: 1)) .locale(.current) ) print(localFormattedTime) // prints: 1:15
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Can't add values to Relationship?
I'm getting the same error while running on simulator or actual device (Beta 8 and RC versions). In preview it works as expected.  "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unacceptable type of value for to-one relationship: property = "linearity"; desired type = NSManagedObject; given type = NSManagedObject; value = <NSManagedObject: 0x281bc37f0>"
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Sep ’23