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
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