PXPseudoClassFunction Class Reference
Inherits from | NSObject |
Conforms to | PXSelector |
Declared in | PXPseudoClassFunction.h |
Overview
A PXPseudoClassFunction is used to select styleables based on their positions or pattern of positions from the start or end of their list of siblings
Tasks
-
functionType
Returns the type of nth-child operation that this selector will perform during matching
property -
modulus
In the expression ‘an + b’, the modulus corresponds to the ‘n’ value
property -
remainder
In the expression ‘an + b’, the remainder corresponds to the ‘b’ value
property -
– initWithFunctionType:modulus:remainder:
Initialize a newly allocation PXPseudoClassFunction
Properties
functionType
Returns the type of nth-child operation that this selector will perform during matching
@property (nonatomic, readonly) PXPseudoClassFunctionType functionType
Discussion
Returns the type of nth-child operation that this selector will perform during matching
Declared In
PXPseudoClassFunction.h
Instance Methods
initWithFunctionType:modulus:remainder:
Initialize a newly allocation PXPseudoClassFunction
- (id)initWithFunctionType:(PXPseudoClassFunctionType)type modulus:(NSInteger)modulus remainder:(NSInteger)remainder
Parameters
- type
The nth-child operator type
- modulus
The modulus of the nth-child operation
- remainder
The remainder of the nth-child operation
Discussion
Initialize a newly allocation PXPseudoClassFunction
Declared In
PXPseudoClassFunction.h