Re: How is the best way to emulate the plist editor GUI?
Re: How is the best way to emulate the plist editor GUI?
- Subject: Re: How is the best way to emulate the plist editor GUI?
- From: Jerry Krinock <email@hidden>
- Date: Sun, 14 Feb 2010 22:22:28 -0800
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 (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