Returns the name of the declared type of the attribute or relationship identified by the passed key.
Original signature is '- (NSString *)typeForKey:(NSString *)key'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- key (NSString)
- The identifying key for an attribute, one-to-one relationship, or one-to-many relationship of the receiver.
Return Value
The name of the declared type of the attribute or relationship identified by key; for example, “NSString”. Searches in the receiver first, then in any superclass. Returns nil if no match is found.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)