MOOStyleTrait Class Reference
| Inherits from | NSObject |
| Conforms to | MOOMaskedIconViewStyles MOOStyleTrait |
| Declared in | MOOStyleTrait.h MOOStyleTrait.m |
Overview
MOOStyleTrait is an implementation of MOOStyleTrait that conforms to MOOMaskedIconViewStyles
Tasks
Other Methods
-
+ traitCreates and returns a new, autoreleased trait.
Other Methods
-
– styleProtocolThe underlying style protocol defining all properties.
Other Methods
-
– mixInTrait:Overwrites properties of the current trait with values from another trait as long as those values are set on the other trait.
Other Methods
-
– mixInTraits:Calls mixInTrait: on every element in an array of traits.
Other Methods
-
– traitMixedWithTrait:Creates a new trait composed of the current trait and a passed-in trait. Does not overwrite properties on the callee, unlike mixInTrait:.
Other Methods
-
– traitMixedWithTraits:Creates a trait composed of the current trait and an array of other traits. Does not overwrite properties on the callee, unlike mixInTraits:.
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.hstyleProtocol
The underlying style protocol defining all properties.
- (Protocol *)styleProtocolDeclared 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:.
- (MOOStyleTrait *)traitMixedWithTrait:(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:.
- (MOOStyleTrait *)traitMixedWithTraits:(NSArray *)otherTraitsSee Also
Declared In
MOOStyleTrait.h