Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key.
- Core Data
The name of one of the receiver's to-many relationships.
key is not a property defined by the model, the method raises an exception.
This method is overridden by
NSManaged to access the managed object’s generic dictionary storage unless the receiver’s class explicitly provides key-value coding compliant accessor methods for
For performance reasons, the proxy object returned by managed objects for
mutable does not support
set<Key>: style setters for relationships. For example, if you have a to-many relationship
employees of a Department class and implement accessor methods
set, then manipulate the relationship using the proxy object returned by
set is not invoked. You should implement the other mutable proxy accessor overrides instead (see Managed Object Accessor Methods in Core Data Programming Guide).