MOOStyleTrait Protocol Reference
| Conforms to | NSObject |
| Declared in | MOOStyleTrait.h |
Tasks
-
styleProtocolThe underlying style protocol defining all properties.
property required method -
+ traitCreates 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>)otherTraitDeclared In
MOOStyleTrait.hmixInTraits:
Calls mixInTrait: on every element in an array of traits.
- (void)mixInTraits:(NSArray *)traitsSee Also
Declared In
MOOStyleTrait.htraitMixedWithTrait:
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>)otherTraitSee Also
Declared In
MOOStyleTrait.htraitMixedWithTraits:
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 *)otherTraitsSee Also
Declared In
MOOStyleTrait.h