Re: inspector
Re: inspector
- Subject: Re: inspector
- From: j o a r <email@hidden>
- Date: Thu, 5 Jan 2006 21:56:38 +0100
On 5 jan 2006, at 21.08, Tore Halset wrote:
I have searched and read documentation, but have not found the best
way to do it. Should I create a custom nib for each class? Or
should I use a Tabless NSTabView? An example would be realy nice :)
A tabless tab view is a great way to do that. Another way is to use a
NSBox, and switch it's content view to match the active inspector
plugin.
I would make separate classes for each inspector plugin, with an
accessor for the plugin view:
@class MyInspectorPlugin : NSObject
- (NSView *) pluginView;
@end
The inspector plugin classes would in this case each load their own
nib, containing only their plugin view. In this way, you get a fairly
clean separation between your inspector, and it's plugins.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >inspector (From: Tore Halset <email@hidden>) |