• 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: Finding the path of selected item in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the path of selected item in NSOutlineView


  • Subject: Re: Finding the path of selected item in NSOutlineView
  • From: Graham Cox <email@hidden>
  • Date: Sat, 28 Feb 2009 16:20:06 +1100


On 28/02/2009, at 4:10 PM, Ankur Singhal wrote:

Hi,
By path I mean to say the actual path of the object present on my Pc like
/users/ankur/desktop


But that has nothing to do with NSOutlineView.

If the outline view's datasource is supplying it with paths as the view's data, then -itemAtRow: will return it. Presumably the datasource already supplied the outline view with data in a form that it can use, so once you have the selected object you should have the required information - your code had to supply it in the first place.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >Finding the path of selected item in NSOutlineView (From: "Ankur Singhal" <email@hidden>)
 >Re: Finding the path of selected item in NSOutlineView (From: Graham Cox <email@hidden>)
 >RE: Finding the path of selected item in NSOutlineView (From: "Ankur Singhal" <email@hidden>)

  • Prev by Date: RE: Finding the path of selected item in NSOutlineView
  • Next by Date: Re: Name to PSN
  • Previous by thread: RE: Finding the path of selected item in NSOutlineView
  • Next by thread: Re: Finding the path of selected item in NSOutlineView
  • Index(es):
    • Date
    • Thread