• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How is the best way to emulate the plist editor GUI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How is the best way to emulate the plist editor GUI?
      • From: Juanma Cabello <email@hidden>
References: 
 >How is the best way to emulate the plist editor GUI? (From: Juanma Cabello <email@hidden>)

  • Prev by Date: Bind to string (path), convert to NSImage
  • Next by Date: Re: Question about zipping files
  • Previous by thread: How is the best way to emulate the plist editor GUI?
  • Next by thread: Re: How is the best way to emulate the plist editor GUI?
  • Index(es):
    • Date
    • Thread