• 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: Wed, 14 Dec 2005 11:43:05 +0100

perhaps I should rather create a new NSCell and call dataCellForRow, and then transform the value?
Actually I've made it work this way

Data from NSOutlineView at (Column, Row):

NSTableColumn * col = [myOutlineView tableColumnWithIdentifier:@"title"];
NSCell * cel = [col dataCellForRow: row];
NSString * titelString = [[cel objectValue] UTF8String];

Concerning the "bad style" issue:
I try accessing the NSOutlineView instead of my model - or the NSOutlineController that manages the displayed contents - since I found myself quite unable to query the managed Objects from my sceneGraph-Controller. So the outlineview provides the data needed - actually I'll hide it from the user when I'm done. I'm not to happy with this either but couldn't find another solution.
But suggestions are always welcome :)

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: Corbin Dunn <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>)

  • Prev by Date: Core Data & Drag and Drop, NSTableView SoS
  • Next by Date: custom view, vertical alignment in nsscrollview
  • Previous by thread: Re: Getting data from NSOutlineView
  • Next by thread: Re: Getting data from NSOutlineView [solved, kind of...]
  • Index(es):
    • Date
    • Thread