Re: What is TRUEPREDICATE
Re: What is TRUEPREDICATE
- Subject: Re: What is TRUEPREDICATE
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 21 Jun 2005 15:10:54 -0700
On Jun 21, 2005, at 1:11 PM, John Tsombakos wrote:
I'm working through the CoreData examples and am looking at the
TilePuzzle
sample. In the data model there are three fetch request templates
in the Tile
entity. One of them (allTiles) has a Predicate of "TRUEPREDICATE".
I can' find
any documentation of what this is - I guessed that it's used to
return all of
the items in the persistent store, but was just curious where it
came from!
The Predicate Programming Guide (http://developer.apple.com/
documentation/Cocoa/Conceptual/Predicates/index.html#//apple_ref/doc/
uid/TP40001789) currently lists the BNF for a NSPredicate as
NSPredicate ::= NSComparisonPredicate | NSCompoundPredicate
| "(" NSPredicate ")" | TRUE | FALSE
This is incorrect (as of <mumble>). It should read:
NSPredicate ::= NSComparisonPredicate | NSCompoundPredicate
| "(" NSPredicate ")" | TRUEPREDICATE | FALSEPREDICATE
A bug has been filed, and in this case please don't file any
additional bugs on this specific subject.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden