Bindings and a dictionary
Bindings and a dictionary
- Subject: Bindings and a dictionary
- From: Tim Gray <email@hidden>
- Date: Thu, 8 Jun 2006 18:01:38 -0400
Hi, I'm still trying to get bindings to work for me. I've gotten a lot further since the last time I wrote, but am having some difficulties with a dictionary.
The program I'm writing simply displays data read out of a selected IFF file. I currently have it set up with an AppController.m that holds an instance] of myIFFfile. myIFFfile has a bunch of ivars in it. Using an NSObjectController whose contentObject is set to [Bind to: AppController and ModelKeyPath: myIFFfile], I have the ivars of myIFFFile showing up fine in the textFields that are bound to them.
However, myIFFFile has a dictionary ivar (myIFFdictionary) whose contents I'd like to access. I thought I would be able to bind a textfield to myIFFdictionary.key, where key is key for the object I wanted to access in the dictionary, but that doesn't work. All the objects in the dictionary are strings. Anybody know what I'm doing wrong?
Thanks!
_______________________________________________
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