ECXMLControlSetterLookupUtil


Abstract

This class is used to lookup an appropriate method for a given attribute name and a given object

Discussion

See for the syntax of the method naming scheme. By default, the schemes set%

Methods

-addMethodNameSchema:
Used to add a new pattern for a method name.
-lookupMethodForAttributeName
Looks for a particular method which can be used as a setter
-lookupMethodForAttributeName:ofObject:
Looks for a particular method which can be used as a setter

addMethodNameSchema:


Used to add a new pattern for a method name.

- addMethodNameSchema: (NSString *) aMethodNameSchema;
Discussion

The pattern must contain two substitution strings for objc strings (%


lookupMethodForAttributeName


Looks for a particular method which can be used as a setter

See Also:
lookupMethodForAttributeName:ofObject:
- (SEL) lookupMethodForAttributeName: (NSString *) anAttributeName ofObject: (id) aTargetObject;
Parameter Descriptions
anAttributeName
name of the attribute to set
aTargetObject
underlying object to evaluate
method result
selector or NULL, if it could not be found
Discussion

The method name schemes will be tried in the order they are added to this object. method wrt. to the given method name schemes (see ).


lookupMethodForAttributeName:ofObject:


Looks for a particular method which can be used as a setter

See Also:
lookupMethodForAttributeName
- (SEL) lookupMethodForAttributeName: (NSString *) anAttributeName ofObject: (id) aTargetObject;
Parameter Descriptions
anAttributeName
name of the attribute to set
aTargetObject
underlying object to evaluate
Discussion

The method name schemes will be tried in the order they are added to this object. method wrt. to the given method name schemes (see ).

(Last Updated November 08, 2007)