• 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: Core Data set predicate in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data set predicate in IB


  • Subject: Re: Core Data set predicate in IB
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 12 Feb 2007 21:31:14 -0500

Kevin:

  Have you seen this?

http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/ index.html

It gives some pretty well-rounded examples of exactly the sort of thing you're looking for.

--
I.S.


On Feb 12, 2007, at 9:12 PM, Kevin Hoctor wrote:

After all my searches and reading, I'm still stumped. I have a Core Data program with a one to many object relationship (Transaction has a Bucket). I want to select an object in my NSTreeController interface object and have the predicate for the NSArrayController set by it. I want this to be flexible enough to be able to have more than just parent objects in the tree.

The first object would be an "All Transactions" item and others would select transactions assigned to a specific bucket. I have a transient value in my Bucket object that I can use a a predicate string or I'm happy to do it another way.

The problem is that I can't figure out what to use as the predicate string in IB or if I'm supposed to do it another way.

Thanks,

Kevin Hoctor
email@hidden
No Thirst Software LLC
http://nothirst.com



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Core Data set predicate in IB (From: Kevin Hoctor <email@hidden>)

  • Prev by Date: Core Data set predicate in IB
  • Next by Date: Re: Core Data: Filter and search results
  • Previous by thread: Core Data set predicate in IB
  • Next by thread: Re: Core Data set predicate in IB [resolved]
  • Index(es):
    • Date
    • Thread