PXAttributeSelectorOperator Class Reference
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
-
operatorType
The type of match to be performed on the attribute value
property -
attributeSelector
The attribute to match
property -
value
The value to be used by the operator type during matching
property -
– initWithOperatorType:attributeSelector:stringValue:
Initialize a new instance using the specified lhs, operator, and rhs of the operator expression.
Properties
attributeSelector
The attribute to match
@property (nonatomic, readonly, strong) PXAttributeSelector *attributeSelector
Discussion
The attribute to match
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
Discussion
Initialize a new instance using the specified lhs, operator, and rhs of the operator expression.
Declared In
PXAttributeSelectorOperator.h