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

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

modulus

In the expression ‘an + b’, the modulus corresponds to the ‘n’ value

@property (nonatomic, readonly) NSInteger modulus

Discussion

In the expression ‘an + b’, the modulus corresponds to the ‘n’ value

Declared In

PXPseudoClassFunction.h

remainder

In the expression ‘an + b’, the remainder corresponds to the ‘b’ value

@property (nonatomic, readonly) NSInteger remainder

Discussion

In the expression ‘an + b’, the remainder corresponds to the ‘b’ value

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