Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

flami

macrumors newbie
Original poster
Dec 31, 2007
1
0
Hi,

I have a NSArrayController which manages entities. The NSArrayController is bound to an NSTableColumn and adding/removing works fine. What I want is, to bind the NSArrayController to an NSMenu to have an MenuItem added/removed each time the NSArrayController adds/removes an object to its content array.
I have played around with the Controllers add: and addObject: methods but couldn't get it working.
What would be a proper way to make changes in the NSArrayController reflect to the NSMenu?

Thank you very much in advance,
Thomas
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.