• 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
Display instances of a Core Data entity in a hierarchical way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display instances of a Core Data entity in a hierarchical way


  • Subject: Display instances of a Core Data entity in a hierarchical way
  • From: Remco Poelstra <email@hidden>
  • Date: Tue, 10 Oct 2006 22:35:36 +0200

Hi,

I've two Core Data entities: component en componentlist. The component entity has the following attributes: value (string), category (relation), type (relation). The componentlist entity has the attributes: quantity (int), refdes (string), component (relation).
I've made a table which shows the instances of the componentlist entity. One column contains a nspopupbuttoncell which show's the value attribute of the component relation. This all works fine, but the popup-menu is very large. What I want is some sort of hierarchical display of the available components, by sorting them by category, then type and then value. Since nspopupbutton contains an nsmenu, I suppose that's possible? But how do I get that to work? Preferably using bindings. I really have no clue on where I should start looking.


Thanks in advance,

Remco Poelstra

_______________________________________________
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


  • Prev by Date: Re: NSDatePicker and Islamic Calendar
  • Next by Date: Re: Timing problem with serial port and/or cocoa drawing (please ignore!)
  • Previous by thread: Re: Timing problem with serial port and/or cocoa drawing (please ignore!)
  • Next by thread: [ANN] Cocoa client for Cayenne ROP
  • Index(es):
    • Date
    • Thread