PXMediaGroup Class Reference
Inherits from | NSObject |
Conforms to | PXMediaExpression |
Declared in | PXMediaGroup.h |
Tasks
-
origin
A PXStylesheetOrigin enumeration value indicating the origin of this stylesheet. Origin values are used in specificity calculations.
property -
query
The media query associated with this grouping of rule sets
property -
ruleSets
A 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 origin
Discussion
A PXStylesheetOrigin enumeration value indicating the origin of this stylesheet. Origin values are used in specificity calculations.
Declared In
PXMediaGroup.h
Instance Methods
addRuleSet:
Add a new rule set to this stylesheet
- (void)addRuleSet:(PXRuleSet *)ruleSet
Parameters
- ruleSet
The rule set to add. Nil values are ignored
Discussion
Add a new rule set to this stylesheet
Declared In
PXMediaGroup.h