Instance Method

objectIDsForRelationshipNamed:

Returns the object IDs for all of the managed objects that are in the named relationship.

Declaration

- (NSArray<NSManagedObjectID *> *)objectIDsForRelationshipNamed:(NSString *)key;

See Also

Supporting Key-Value Coding

- valueForKey:

Returns the value for the property specified by key.

- setValue:forKey:

Sets the specified property of the managed object to the specified value.

- mutableSetValueForKey:

Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key.

- primitiveValueForKey:

Returns the value for the specified property from the managed object’s private internal storage .

- setPrimitiveValue:forKey:

Sets the value of a given property in the managed object's private internal storage.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software