Re: What is TRUEPREDICATE
Re: What is TRUEPREDICATE
- Subject: Re: What is TRUEPREDICATE
- From: Thomas Davie <email@hidden>
- Date: Tue, 21 Jun 2005 21:38:44 +0100
On Jun 21, 2005, at 9:11 PM, John Tsombakos wrote: Hi,
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!
I've searched all of the documentation, both local and online, but haven't found anything. Can someone enlighten me?
One would guess it's the predicate that ignores it's argument and returns true.
truePredicate = \x -> True
Bob |
_______________________________________________
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