| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/SyncServices.framework |
| Availability | Available in Mac OS X v10.4 and later. |
| Companion guide | |
| Declared in | ISyncFilter.h |
ISyncFilter provides a set of standard filters that can be used by any client, and some utility methods for creating filters. You should never instantiate or subclass ISyncFilter directly.
If your application uses only a subset of the entities, attributes, and relationships defined in a schema, then you can restrict pulled records to that subset using filters. A filter is any object that conforms to the ISyncFiltering protocol. You set filters using the setFilters: ISyncClient method.
Use the methods in this class to create new filters by applying logical AND and OR binary operators on a collection of filters. Use the filterMatchingAllFilters: to apply an AND operator and filterMatchingAtLeastOneFilter: to apply an OR operator.
See Sync Services Programming Guide for more information on using filters.
Returns a filter that is the logical AND of the filters specified in the filters array.
+ (id <ISyncFiltering>)filterMatchingAllFilters:(NSArray *)filters
All the filters are expected to conform to the ISyncFiltering protocol.
ISyncFilter.hReturns a filter that is the logical OR of the filters specified in the filters array.
+ (id <ISyncFiltering>)filterMatchingAtLeastOneFilter:(NSArray *)filters
All the filters are expected to conform to the ISyncFiltering protocol.
ISyncFilter.hLast updated: 2006-07-07