KAFilter Class Reference
Inherits from | NSObject |
Declared in | KAFilter.h |
Instance Methods
addFilter:withValue:
Add a key/value pair to this filter
- (void)addFilter:(NSString *)filterKey withValue:(NSString *)filterValue
Parameters
- filterKey
The key to filter by. Filter key must match with pattern ^[a-zA-Z][a-zA-Z0-9_]{0,63}$
- filterValue
The value to filter against. Filter value must not be nil or empty.
Discussion
Add a key/value pair to this filter
Use filters to slice your data into useful result sets
Exceptions
- NSException
Named NSInvalidArgumentException is thrown if filter key or filter value is invalid.
Declared In
KAFilter.h