Skip navigation.
 
mlRe: Binding to one specific object of an NSArrayController
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.

Related mailsAuthorDate
mlBinding to one specific object of an NSArrayController Michael Varlik Dec 31, 17:56
mlRe: Binding to one specific object of an NSArrayController Keary Suska Dec 31, 18:45
mlRe:Binding to one specific object of an NSArrayController Shripada Hebbar Jan 1, 05:39
mlRe: Binding to one specific object of an NSArrayController Jerry Krinock Jan 1, 14:24