Re: Finding the path of selected item in NSOutlineView
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