Re: Are Core Data to-many relationships nullable?

2017-10-05 Thread David Catmull
Apparently the answer is that they should be declared nullable. Even though I've seen claims that the property will always return a set, apparently it's also allowable to assign it to nil to clear it out. On Thu, Oct 5, 2017 at 1:00 PM, David Catmull wrote: > I'm adding nullability notations to

Are Core Data to-many relationships nullable?

2017-10-05 Thread David Catmull
I'm adding nullability notations to my Core Data classes for Swift interoperability, and I need to know whether the properties for to-many relationships should be considered nullable, or if they will always read as empty sets. Is there an authoritative answer for this? _