Introduction to Predicates Programming Guide

Predicates provide a general means of specifying queries in Cocoa. The predicate system is capable of handling a large number of domains, not just—for example—Core Data or Spotlight. This document describes predicates in general, their use, their syntax, and their limitations.

Who Should Read This Document?

You should read this document if your application needs to filter objects or to set up queries retrieving objects using Core Data.

Organization of This Document

The following articles explain the basics of predicates in Cocoa, explain how to create and use predicate objects, and define the predicate syntax:



© 2005, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-11-17)