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?





It works very much like a table view. You bind one column to the propertyKey, one to the propertyValue. Indented (child) items aren't actually in a different cell. They're just further to the right.

Thanks - this is just the bit of hinting I needed. My array of dictionaries is read-only and generated once when a dataset is loaded or created, so it was easy to provide an accessor converting it to the required format. Works great!


Thanks again,

Rick



   - 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/rhoge% 40nmr.mgh.harvard.edu


This email sent to email@hidden


_______________________________________________ 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>)
 >Re: Tips on how to display NSArray of NSDictionaries using NSTreeController? (From: Scott Stevenson <email@hidden>)
 >Re: Tips on how to display NSArray of NSDictionaries using NSTreeController? (From: Rick Hoge <email@hidden>)
 >Re: Tips on how to display NSArray of NSDictionaries using NSTreeController? (From: Scott Stevenson <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.