FROM : Jerry Krinock
DATE : Tue Jan 01 14:24:02 2008
On 2007 Dec, 31, at 20:39, Shripada Hebbar wrote:
> This will return you the NSArray of objects maintained by the array
> controller.
> You can iterate through this array and bind to each of the menu items.
> I am not sure if this is an elegant method, but it works.
I would say that it is not elegant, and also more work and more
confusing than doing it without bindings. Your data is only flowing
in one of the two directions; i.e. the user cannot add or delete items
using menu, so you're missing that "advantage" of bindings too.
I would definitely ^not^ use bindings in this case.
DATE : Tue Jan 01 14:24:02 2008
On 2007 Dec, 31, at 20:39, Shripada Hebbar wrote:
> This will return you the NSArray of objects maintained by the array
> controller.
> You can iterate through this array and bind to each of the menu items.
> I am not sure if this is an elegant method, but it works.
I would say that it is not elegant, and also more work and more
confusing than doing it without bindings. Your data is only flowing
in one of the two directions; i.e. the user cannot add or delete items
using menu, so you're missing that "advantage" of bindings too.
I would definitely ^not^ use bindings in this case.
| 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

