• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting data from NSOutlineView [solved, kind of...]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Getting data from NSOutlineView [solved, kind of...]
      • From: mmalcolm crawford <email@hidden>
    • Re: Getting data from NSOutlineView [solved, kind of...]
      • From: Wain <email@hidden>
References: 
 >Getting data from NSOutlineView (From: goessly <email@hidden>)
 >Re: Getting data from NSOutlineView (From: goessly <email@hidden>)
 >Re: Getting data from NSOutlineView (From: Alex Fischer <email@hidden>)
 >Re: Getting data from NSOutlineView (From: goessly <email@hidden>)
 >Re: Getting data from NSOutlineView [solved, kind of...] (From: goessly <email@hidden>)
 >Re: Getting data from NSOutlineView [solved, kind of...] (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Creating a nstextfield in a tab,
  • Next by Date: Getting a 128x128 icon for a file or file type
  • Previous by thread: Re: Getting data from NSOutlineView [solved, kind of...]
  • Next by thread: Re: Getting data from NSOutlineView [solved, kind of...]
  • Index(es):
    • Date
    • Thread