Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tips on how to display NSArray of NSDictionaries using NSTreeController?




On May 4, 2005, at 10:16 AM, Rick Hoge wrote:

What I'd like to do is have the top level of the NSOutlineView show the value for the 'description' key, and the next level of disclosure show the set of key/value pairs for the 'settings' dictionary


You can't really use dictionaries with bindings in this way. You essentially need to create an array of objects that have accessors like "propertyKey" and "propertyValue", and bind those to the outline view.


    - Scott


--

http://treehouseideas.com/

http://theocacao.com/ [blog]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Tips on how to display NSArray of NSDictionaries using NSTreeController? (From: Rick Hoge <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.