Re: Rearranging NSOutlineView via drag-and-drop
Re: Rearranging NSOutlineView via drag-and-drop
- Subject: Re: Rearranging NSOutlineView via drag-and-drop
- From: Ken Thomases <email@hidden>
- Date: Mon, 05 Jan 2015 13:06:17 -0600
On Jan 5, 2015, at 12:48 PM, Charles Jenkins <email@hidden> wrote:
> Well, the view-based outline view calls my delegate to get the view pointer for a given item, and in response my delegate dutifully creates one, sets its text and image, and hands it over. But after that the item view I created is owned by the outline view, and I think--but would be happy to be proven wrong--that there no way to ask the outline view to look up that item view pointer for me so I can alter its image.
You're looking for -viewAtColumn:row:makeIfNecessary:.
Regards,
Ken
_______________________________________________
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