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 <davidcatm...@gmail.com>
wrote:

> 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?
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to