Re: Getting data from NSOutlineView [solved, kind of...]
Re: Getting data from NSOutlineView [solved, kind of...]
- Subject: Re: Getting data from NSOutlineView [solved, kind of...]
- From: goessly <email@hidden>
- Date: Thu, 15 Dec 2005 14:33:32 +0100
Is it possible that there is no way to access the actual data managed
by Core Data, except within the limited possibilities provided by
bindings? After checking several related topics I'm a at a complete
loss here.
I have set up a core data doc based app. I can create custom data
sets, no problem. I've got a sceneGraph-View which is supposed to
render a graphical representation of those items. Therefor I need to
access the properties of the data sets, which are defined based on a
xcdatamodel. Their instances are displayed in an NSOutlineView,
managed by a NSTreecontroller; connected using bindings. Any design
flaws so far, or would you consider this a valid approach?
Now why is it so hard to access this content from another class, i.e.
my sceneGraph-Controller?
I've tried three different approaches to create such in interface:
via NSTreeController, via NSOutlineView, and by the implementations
of the modeled entity. Accessing it by reading directly from the
Document came to mind, but I had no idea how to do that.
Frustrating, since the task seems so easy: get the following
properties from all currently present instances of my entity.
Am I missing something? Any further readings, suggestions, comments?
Best regards,
goessly
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden