Re: How to create source-list programmatically?
Re: How to create source-list programmatically?
- Subject: Re: How to create source-list programmatically?
- From: Ken Thomases <email@hidden>
- Date: Thu, 24 Oct 2013 10:35:32 -0500
On Oct 18, 2013, at 3:48 PM, Hoon Hwangbo wrote:
> So should I always use the IB to make source-list correctly? Is there no *purely programatic* - with only code - way to do that?
You can set up source lists in code. Search the docs for "selectionHighlightStyle" and "sourcelist", especially the older AppKit release notes from when source list support was initially added. In particular, you want to do:
[outlineView setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleSourceList];
Cheers,
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