• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
complicated (I think) Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: complicated (I think) Binding
      • From: John Pannell <email@hidden>
  • Prev by Date: good values for MDQueryBatchingParams
  • Next by Date: Re: NSURLConnection timing out without delegate getting connection:didFailWithError: callback
  • Previous by thread: Re: good values for MDQueryBatchingParams
  • Next by thread: Re: complicated (I think) Binding
  • Index(es):
    • Date
    • Thread