9 #import <Foundation/Foundation.h> 23 - (id) getValueOfProperty: (NSString*)property;
30 - (BOOL) setValue: (
id)value ofProperty: (NSString*)property;
37 + (Class) classOfProperty: (NSString*)propertyName;
39 + (NSString*) getterKey: (
SEL)sel;
40 + (NSString*) setterKey: (
SEL)sel;
44 + (IMP) impForGetterOfProperty: (NSString*)property ofClass: (Class)propertyClass;
45 + (IMP) impForSetterOfProperty: (NSString*)property ofClass: (Class)propertyClass;
46 + (IMP) impForGetterOfProperty: (NSString*)property ofProtocol: (Protocol*)propertyProtocol;
47 + (IMP) impForSetterOfProperty: (NSString*)property ofProtocol: (Protocol*)propertyProtocol;
48 + (IMP) impForGetterOfProperty: (NSString*)property ofType: (const
char*)propertyType;
49 + (IMP) impForSetterOfProperty: (NSString*)property ofType: (const
char*)propertyType;
60 NSString *propertyName,
62 Class *declaredInClass,
63 const char* *propertyType);
Protocol * CBLProtocolFromType(const char *propertyType, Class relativeToClass)
Same as MYClassFromType, except for protocols.
BOOL CBLGetPropertyInfo(Class cls, NSString *propertyName, BOOL setter, Class *declaredInClass, const char **propertyType)
Given an Objective-C class object, a property name, and a BOOL for whether the property should be rea...
A generic class with runtime support for dynamic properties.
Definition: CBLDynamicObject.h:15
Class CBLClassFromType(const char *propertyType, Class relativeToClass)
Given an Objective-C property type string, returns the property type as a Class object, or nil if a class does not apply or no such property is present.
NSSet * propertyNames()
Returns the names of all properties defined in this class and superclasses up to CBLDynamicObject.