complicated (I think) Binding
complicated (I think) Binding
- Subject: complicated (I think) Binding
- From: Mike Abdullah <email@hidden>
- Date: Sat, 11 Mar 2006 23:11:45 +0000
Can anyone help me with a rather tricky binding that I haven't been
able to sort yet?
Basically, I have in my document window, an NSPopupButton. I would
ideally like to:
* Have a central object in my app keep a list of the files in a
particular folder
* The popup button displays a list of the names of these files, minus
their extension
* The selected item of the popup button is kept in the document's
data store, but it is stored with the extension
Is it possible to do this at all? I have no idea about the
"centralised" store of file names bit, but I figure that I could use
the selectedIndex binding of the popup button to look up the
appropriate string from the centralised object.
Any help, very, very much appreciated!
Mike A.
_______________________________________________
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