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
-
functionTypeReturns the type of nth-child operation that this selector will perform during matching
property -
modulusIn the expression ‘an + b’, the modulus corresponds to the ‘n’ value
property -
remainderIn 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 functionTypeDiscussion
Returns the type of nth-child operation that this selector will perform during matching
Declared In
PXPseudoClassFunction.hInstance Methods
initWithFunctionType:modulus:remainder:
Initialize a newly allocation PXPseudoClassFunction
- (id)initWithFunctionType:(PXPseudoClassFunctionType)type modulus:(NSInteger)modulus remainder:(NSInteger)remainderParameters
- 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