KBARelationshipKeyPath
@interface KBARelationshipKeyPath : NSObject
KBARelationshipKeyPath is an NSObject subclass that represents a relationship key path to observe for changes.
-
Get the destination entity name. Given A is related to B, the destination entity name would be B.entity.name.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull destinationEntityName;
-
Get the destination property names to observe for changes. Given A is related to B, these should be names of properties on B.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSSet<NSString *> *_Nonnull destinationPropertyNames;
-
Get the inverse relationship key path. Given A is related to B, this should be relationship key path from B to A.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull inverseRelationshipKeyPath;
-
Create and return an instance of the receiver with the provided parameters.
Declaration
Objective-C
- (nonnull instancetype) initWithDestinationEntityName:(nonnull NSString *)destinationEntityName destinationPropertyNames: (nonnull NSSet<NSString *> *)destinationPropertyNames inverseRelationshipKeyPath: (nonnull NSString *)inverseRelationshipKeyPath;
Parameters
destinationEntityName
The destination entity name
destinationPropertyNames
The destination property names
inverseRelationshipKeyPath
The inverse relationship key path
Return Value
The initialized instance
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;