• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is TRUEPREDICATE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >What is TRUEPREDICATE (From: John Tsombakos <email@hidden>)

  • Prev by Date: change a value for a core data attribute programatically
  • Next by Date: Re: change a value for a core data attribute programatically
  • Previous by thread: What is TRUEPREDICATE
  • Next by thread: Re: What is TRUEPREDICATE
  • Index(es):
    • Date
    • Thread