On 2010 Feb 13, at 00:34, Juanma Cabello wrote:

> I'm making a prefences panel to manage the Apache httpd.conf file and for
> the UI I thought about to load the stuff into an OutlineView like the Apple
> plist editor has, but I think it's a custom control so I don't know how
> would be the best way to emulate it.
> 
> I'm a newbie and all help is really welcome.

This should get you started.

Not sure what this has to do with an Apache httpd.conf file, but if you want an 
outline, use NSOutlineView.  Then, there are two options to load the outline 
view:

1.  Use a Data Source.  Read "Outline View Programming Topics for Cocoa"
2.  Use an NSTreeController.  Read "NSTreeController Class Reference".

Both options have their promoters and detractors.

_______________________________________________

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

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

Reply via email to