PXDeclarationContainer Class Reference
Inherits from | NSObject |
Declared in | PXDeclarationContainer.h |
Tasks
-
– addDeclaration:
Add a declaration to the list of declarations associated with this container
-
– removeDeclaration:
Remove the specified declaration from this container
-
– hasDeclarationForName:
A predicate used to determine if this container contains a declaration for a given property name
-
– declarationForName:
Return the declaration associated with a specified name. Nil will be returned if the container does not contain a declaration for the given name.
Instance Methods
addDeclaration:
Add a declaration to the list of declarations associated with this container
- (void)addDeclaration:(PXDeclaration *)declaration
Parameters
- declaration
The declaration to add
Discussion
Add a declaration to the list of declarations associated with this container
Declared In
PXDeclarationContainer.h
declarationForName:
Return the declaration associated with a specified name. Nil will be returned if the container does not contain a declaration for the given name.
- (PXDeclaration *)declarationForName:(NSString *)name
Parameters
- name
The name of the property to return
Discussion
Return the declaration associated with a specified name. Nil will be returned if the container does not contain a declaration for the given name.
Declared In
PXDeclarationContainer.h
hasDeclarationForName:
A predicate used to determine if this container contains a declaration for a given property name
- (BOOL)hasDeclarationForName:(NSString *)name
Parameters
- name
The name of the property to look for
Discussion
A predicate used to determine if this container contains a declaration for a given property name
Declared In
PXDeclarationContainer.h