XuniReflector Class Reference
Inherits from | NSObject |
---|---|
Declared in | Util.h |
+ getValue:forKey:
Get value with key.
+ (NSObject *)getValue:(NSObject *)object forKey:(NSString *)name
Parameters
object |
the specified object. |
---|---|
name |
the specified key name. |
Return Value
an object.
Discussion
Get value with key.
Declared In
Util.h
+ getDataType:
Get data type.
+ (XuniDataType)getDataType:(NSObject *)object
Parameters
object |
the specified object. |
---|
Return Value
data type.
Discussion
Get data type.
Declared In
Util.h
+ getProperties:
Get properties.
+ (NSArray *)getProperties:(NSObject *)object
Parameters
object |
the specified object. |
---|
Return Value
an array of properties.
Discussion
Get properties.
Declared In
Util.h
+ getProperty:name:
Get property.
+ (XuniPropertyInfo *)getProperty:(NSObject *)object name:(NSString *)name
Parameters
object |
the specified object. |
---|---|
name |
the specified key name. |
Return Value
a XuniPropertyInfo object.
Discussion
Get property.
Declared In
Util.h
+ formatValue:
Format value.
+ (NSString *)formatValue:(NSObject *)value
Parameters
value |
the specified value. |
---|
Return Value
a format value string.
Discussion
Format value.
Declared In
Util.h
+ shallowCopyTo:from:
Shallow copy.
+ (void)shallowCopyTo:(NSObject *)target from:(NSObject *)value
Parameters
target |
the destination object. |
---|---|
value |
the source object. |
Discussion
Shallow copy.
Declared In
Util.h