Instance Property

toOneRelationshipKeys

Overridden by subclasses to return the keys for the to-one relationship properties of instances of the described class.

Declaration

@property(readonly, copy) NSArray<NSString *> *toOneRelationshipKeys;

Return Value

An array of NSString objects containing the names of the to-one relationship properties of instances of the described class.

Discussion

To-one relationship properties are single objects.

If you have an instance of the class the receiver describes, you can use the NSObject instance method toOneRelationshipKeys instead.

See Also

Relationship keys

- inverseForRelationshipKey:

Overridden by subclasses to return the name of the inverse relationship from a relationship specified by a given key.

toManyRelationshipKeys

Overridden by subclasses to return the keys for the to-many relationship properties of instances of the described class.