Re: NSTreeControll and different entities
Re: NSTreeControll and different entities
- Subject: Re: NSTreeControll and different entities
- From: Scott Stevenson <email@hidden>
- Date: Thu, 28 Dec 2006 18:42:26 -0800
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:
This email sent to email@hidden