FROM : mmalc crawford
DATE : Mon Dec 31 10:41:45 2007
On Dec 30, 2007, at 11:08 PM, Michael Hanna wrote:
> I want to make another tableview with a column that displays the photo
> attributes of the selected photolist. Do I bind to the Flickr Photo
> List NSArrayController? This is only displaying the photolist key
> names ... how do I get at the values that that key represents? Do I
> have to use an NSDictionaryController to do this?
>
It would certainly be easier if you used a dictionary controller
(which you would use in place of the Flickr Photo
List array controller).
You can look at <http://developer.apple.com/samplecode/DictionaryController/index.html
> to see how they're configured.
If you have to target Tiger, then you can in (likely in your own
custom class, or a subclass of an array controller) observe the Flickr
Photo List's selection (e.g. selectedObjects) and as that changes get
the values for the selected key from the selection in the original
array controller and set the values as the content for the values
array controller.
I hope that makes sense?
mmalc
DATE : Mon Dec 31 10:41:45 2007
On Dec 30, 2007, at 11:08 PM, Michael Hanna wrote:
> I want to make another tableview with a column that displays the photo
> attributes of the selected photolist. Do I bind to the Flickr Photo
> List NSArrayController? This is only displaying the photolist key
> names ... how do I get at the values that that key represents? Do I
> have to use an NSDictionaryController to do this?
>
It would certainly be easier if you used a dictionary controller
(which you would use in place of the Flickr Photo
List array controller).
You can look at <http://developer.apple.com/samplecode/DictionaryController/index.html
> to see how they're configured.
If you have to target Tiger, then you can in (likely in your own
custom class, or a subclass of an array controller) observe the Flickr
Photo List's selection (e.g. selectedObjects) and as that changes get
the values for the selected key from the selection in the original
array controller and set the values as the content for the values
array controller.
I hope that makes sense?
mmalc
| Related mails | Author | Date |
|---|---|---|
| Michael Hanna | Dec 30, 08:00 | |
| Keary Suska | Dec 30, 18:16 | |
| mmalc crawford | Dec 30, 19:53 | |
| mmalc crawford | Dec 30, 20:13 | |
| Michael Hanna | Dec 31, 03:12 | |
| Michael Hanna | Dec 31, 07:19 | |
| Michael Hanna | Dec 31, 08:08 | |
| mmalc crawford | Dec 31, 08:10 | |
| mmalc crawford | Dec 31, 10:41 | |
| Michael Hanna | Jan 1, 19:19 | |
| mmalc crawford | Jan 1, 20:33 |






Cocoa mail archive

