Re: How is the best way to emulate the plist editor GUI?
I know that. Firstly I want to get the OutlineView working, after that I'll take care about those cases where the key-value pattern isn't followed. Enviado desde mi iPhone El 15/02/2010, a las 09:33, Andrew Farmer andf...@gmail.com escribió: On 14 Feb 2010, at 22:35, Juanma Cabello wrote: I have a simple object that only has a NSMutableDictionary where I store all the Apache configurations parameters. That's the collection I want to bind. I know it's a bit of a tangent, but that representation isn't going to work very well. Particularly when mod_rewrite becomes involved, Apache configuration values don't follow a strict key-value pattern: a single directive may appear multiple times with similar (or even identical) values, and the order of directives can affect their meaning. ___ 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
How is the best way to emulate the plist editor GUI?
Hi all! 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. Thanks in advance. -- Juanma Cabello http://www.juanmac.me/ ___ 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
Re: How is the best way to emulate the plist editor GUI?
I have a simple object that only has a NSMutableDictionary where I store all the Apache configurations parameters. That's the collection I want to bind. I'll take a look to those topics and see if I can go from there. Thanks! :) Enviado desde mi iPhone El 15/02/2010, a las 07:22, Jerry Krinock je...@ieee.org escribió: 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/juanma.cabello.b%40gmail.com This email sent to juanma.cabell...@gmail.com ___ 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