• 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: inspector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: inspector
      • From: Tore Halset <email@hidden>
References: 
 >inspector (From: Tore Halset <email@hidden>)

  • Prev by Date: -observeValueForKeyPath:ofObject:change:context: only defined for abstract class.
  • Next by Date: Horizontally scrolling NSTextView in IB
  • Previous by thread: inspector
  • Next by thread: Re: inspector
  • Index(es):
    • Date
    • Thread