• 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 [resolved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data set predicate in IB [resolved]


  • Subject: Re: Core Data set predicate in IB [resolved]
  • From: Kevin Hoctor <email@hidden>
  • Date: Tue, 13 Feb 2007 10:03:11 -0600

On Feb 12, 2007, at 8: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.

Nevermind. After taking a fresh look at the CoreRecipes example, I have it working.


Peace,

Kevin Hoctor
email@hidden
No Thirst Software LLC
http://nothirst.com
832-236-3592



_______________________________________________

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: Sanity Check on Memory Leaks
  • Next by Date: Re: Add nscontrol to the Main Window using code?
  • Previous by thread: Re: Core Data set predicate in IB
  • Next by thread: NSTableView and Releasing window controllers
  • Index(es):
    • Date
    • Thread