PXMediaGroup Class Reference
| Inherits from | NSObject |
| Conforms to | PXMediaExpression |
| Declared in | PXMediaGroup.h |
Tasks
-
originA PXStylesheetOrigin enumeration value indicating the origin of this stylesheet. Origin values are used in specificity calculations.
property -
queryThe media query associated with this grouping of rule sets
property -
ruleSetsA nonmutable array of rule sets that are contained within this stylesheet
property -
– initWithQuery:origin:Initialize a newly allocated instance
-
– addRuleSet:Add a new rule set to this stylesheet
-
– ruleSetsForStyleable:Return a list of rule sets that could apply to the given styleable
Properties
origin
A PXStylesheetOrigin enumeration value indicating the origin of this stylesheet. Origin values are used in specificity calculations.
@property (readonly, nonatomic) PXStylesheetOrigin originDiscussion
A PXStylesheetOrigin enumeration value indicating the origin of this stylesheet. Origin values are used in specificity calculations.
Declared In
PXMediaGroup.hInstance Methods
addRuleSet:
Add a new rule set to this stylesheet
- (void)addRuleSet:(PXRuleSet *)ruleSetParameters
- ruleSet
The rule set to add. Nil values are ignored
Discussion
Add a new rule set to this stylesheet
Declared In
PXMediaGroup.h