ewasylishen@gmail.com)Mirror-based reflection for Etoile
Copyright: (C) 2009 Eric Wasylishen
- Declared in:
- ETReflection.h
@group Reflection
- Declared in:
- ETReflection.h
- Conforms to:
- ETMirror
- ETCollection
@group Reflection
Returns those protocols explicitly adopted by this class.
Returns all protocols adopted by this class, including those adopted by means of class inheritance and by protocol inheritance.
- Declared in:
- ETReflection.h
- Conforms to:
- ETMirror
@group Reflection
- Declared in:
- ETReflection.h
- Conforms to:
- ETMirror
@group Reflection
- Declared in:
- ETReflection.h
- Conforms to:
- NSObject
@group Reflection
- Declared in:
- ETReflection.h
- Conforms to:
- ETMirror
- ETCollection
@group Reflection
- Declared in:
- ETReflection.h
- Conforms to:
- ETMirror
- ETCollection
@group Reflection
Returns the value into the
object instance variable by looking it up
with the Key Value Coding semantics based on the
key, and returns YES on
success.
For a key equal to 'variable', Key Value Coding search pattern to access instance variables happens in the order below:
Valid values are all the supported Key Value Coding types such as id, float or NSRect boxed in a NSValue etc.
If no matching instance variable is found, returns
NO. Which means that either the
key is invalid or the declared ivar type
is not supported by Key Value Coding.
This function won't invoke -[NSObject
valueForUndefinedKey:].
To
implement these extra Key Value Coding behaviors,
check whether NO is returned (to call
-valueForUndefinedKey:).
Sets the value into the object
instance variable by looking it up with the Key
Value Coding semantics based on the key,
and returns YES on success.
For a key equal to 'variable', Key Value Coding search pattern to access instance variables happens in the order below:
Valid values are all the supported Key Value Coding types such as id, float or NSRect boxed in a NSValue etc.
If no matching instance variable is found, returns
NO. Which means that either the
key is invalid or the declared ivar type
is not supported by Key Value Coding.
This function won't invoke -[NSObject
setValue:forUndefinedKey:] and
-[NSObject setNilValueForKey:].
To
implement these extra Key Value Coding behaviors,
check nil and NSNull value
before calling this function (to call
-setNilValueForKey:), and check
whether NO is returned (to call
-setValue:forUndefinedKey:).