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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to