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
-
+ trait
Creates and returns a new, autoreleased trait.
Other Methods
-
– styleProtocol
The 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>)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
styleProtocol
The underlying style protocol defining all properties.
- (Protocol *)styleProtocol
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:.
- (MOOStyleTrait *)traitMixedWithTrait:(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:.
- (MOOStyleTrait *)traitMixedWithTraits:(NSArray *)otherTraits
See Also
Declared In
MOOStyleTrait.h