Bindings, arrangedObjects, and a NSTableView-like view
Bindings, arrangedObjects, and a NSTableView-like view
- Subject: Bindings, arrangedObjects, and a NSTableView-like view
- From: Rob Giseburt <email@hidden>
- Date: Wed, 20 Apr 2005 17:47:26 -0500
Hello,
I am trying to setup a NSTableView-like view that show a vertical (one
column) list of sub-views. The sub views will be relatively complex,
containing other fields such as text fields, buttons, image views, etc.
All standard stuff, however. So far, there will only be one prototype
subview and it will be duplicated.
Each subview need store display different information, and I'd like
that information to come from an NSArrayController. IOW: I'd like to
bind the individual itmes contined in the subview to a key like
'controler.arrangedObjects.key' and have each copy of the subview draw
the correct arranged object's data, just like each cell in a column of
a NSTableView.
I cannot figure out how to tell the view what data to display. Or is
that who I tell to do what?
Any help is greatly appreciated!
-Rob
PS: Waiting for Tiger (and whatever it may bring) is not an option for
me.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden