MOOStyleTrait Protocol Reference
Conforms to | NSObject |
Declared in | MOOStyleTrait.h |
Tasks
-
styleProtocol
The underlying style protocol defining all properties.
property required method -
+ trait
Creates and returns a new, autoreleased trait.
required method -
– mixInTrait:
Overwrites properties of the current trait with values from another trait as long as those values are set on the other trait.
required method -
– mixInTraits:
Calls mixInTrait: on every element in an array of traits.
required method -
– traitMixedWithTrait:
Creates a new trait composed of the current trait and a passed-in trait. Does not overwrite properties on the callee, unlike mixInTrait:.
required method -
– traitMixedWithTraits:
Creates a trait composed of the current trait and an array of other traits. Does not overwrite properties on the callee, unlike mixInTraits:.
required method
Instance Methods
mixInTrait:
Overwrites properties of the current trait with values from another trait as long as those values are set on the other trait.
- (void)mixInTrait:(id<MOOStyleTrait>)otherTrait
Declared In
MOOStyleTrait.h
mixInTraits:
Calls mixInTrait: on every element in an array of traits.
- (void)mixInTraits:(NSArray *)traits
See Also
Declared In
MOOStyleTrait.h
traitMixedWithTrait:
Creates a new trait composed of the current trait and a passed-in trait. Does not overwrite properties on the callee, unlike mixInTrait:.
- (id<MOOStyleTrait>)traitMixedWithTrait:(id<MOOStyleTrait>)otherTrait
See Also
Declared In
MOOStyleTrait.h
traitMixedWithTraits:
Creates a trait composed of the current trait and an array of other traits. Does not overwrite properties on the callee, unlike mixInTraits:.
- (id<MOOStyleTrait>)traitMixedWithTraits:(NSArray *)otherTraits
See Also
Declared In
MOOStyleTrait.h