Inherits from NSObject
Conforms to PXSelector
Declared in PXAttributeSelectorOperator.h

Overview

A PXAttributeSelectorOperator is used to determine if the given attribute matches a value, using a specific string matching operator.

Tasks

Properties

attributeSelector

The attribute to match

@property (nonatomic, readonly, strong) PXAttributeSelector *attributeSelector

Discussion

The attribute to match

Declared In

PXAttributeSelectorOperator.h

operatorType

The type of match to be performed on the attribute value

@property (nonatomic, readonly) PXAttributeSelectorOperatorType operatorType

Discussion

The type of match to be performed on the attribute value

Declared In

PXAttributeSelectorOperator.h

value

The value to be used by the operator type during matching

@property (nonatomic, readonly, strong) NSString *value

Discussion

The value to be used by the operator type during matching

Declared In

PXAttributeSelectorOperator.h

Instance Methods

initWithOperatorType:attributeSelector:stringValue:

Initialize a new instance using the specified lhs, operator, and rhs of the operator expression.

- (id)initWithOperatorType:(PXAttributeSelectorOperatorType)type attributeSelector:(PXAttributeSelector *)attributeSelector stringValue:(NSString *)value

Parameters

type

The operator type

attributeSelector

The attribute selector to which the operator will be applied

value

The string value used by the operator when matching the matched attribute’s value

Discussion

Initialize a new instance using the specified lhs, operator, and rhs of the operator expression.

Declared In

PXAttributeSelectorOperator.h