FROM : Michael Varlik
DATE : Mon Dec 31 17:56:50 2007
Hi,
In my application I have a submenu which represents the content of
an NSArrayController. When I add an object via the controllers add:
method a new menu item is created. But when I change the value of a
property from inside the table, this change is not reflected to the
menu items. Therefore I bound the NSArrayController's selection.name
keypath to the menu item's title when the menu item is added to the
menu. Unfortunetly selection.name is the wrong keypath, because the
title of all the menu items is the name of the selected item in the
table. So my question is: Is there a way to bind each NSMenuItem's
title to exactly one object managed by the NSArrayController?
Best regards,
Michael
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10
DATE : Mon Dec 31 17:56:50 2007
Hi,
In my application I have a submenu which represents the content of
an NSArrayController. When I add an object via the controllers add:
method a new menu item is created. But when I change the value of a
property from inside the table, this change is not reflected to the
menu items. Therefore I bound the NSArrayController's selection.name
keypath to the menu item's title when the menu item is added to the
menu. Unfortunetly selection.name is the wrong keypath, because the
title of all the menu items is the name of the selected item in the
table. So my question is: Is there a way to bind each NSMenuItem's
title to exactly one object managed by the NSArrayController?
Best regards,
Michael
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10
| Related mails | Author | Date |
|---|---|---|
| Michael Varlik | Dec 31, 17:56 | |
| Keary Suska | Dec 31, 18:45 | |
| Shripada Hebbar | Jan 1, 05:39 | |
| Jerry Krinock | Jan 1, 14:24 |






Cocoa mail archive

