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: NSTreeControll and different entities




On Dec 28, 2006, at 10:50 AM, rakel wrote:

I will also have "score" for each Item, but not for the Type. So the Type and Item entities are not at all the same kind of object. The Type is a container and the Item is a thing you place in the container.
[...]
Now, to my question: can I use bindings via NSTreeController? If so, how do I set up the controller?

You can use NSTreeController for this, but it's hard to say exactly how to setup everything up because we don't really know enough about your application.


For instance, you might be better off with just one entity. But maybe that doesn't fit your data model. I think this is more than can be answered in a single email.

This is a pretty good starter:
<http://www.bleepsoft.com/tyler/index.php?itemid=9>

    - Scott

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSTreeControll and different entities (From: rakel <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.