Re: NSTreeControll and different entities
Re: NSTreeControll and different entities
- Subject: Re: NSTreeControll and different entities
- From: rakel <email@hidden>
- Date: Fri, 29 Dec 2006 19:24:27 +0100
Från: Scott Stevenson <email@hidden>
Datum: fredag 29 dec 2006 03.42.26 GMT+01:00
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
The link you provided seems to be exactly what I need, I'll try that!
Thanks a lot!
:-)
Kind regards /Dan
_______________________________________________
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