• 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: A Sherlock-style interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Sherlock-style interface


  • Subject: Re: A Sherlock-style interface
  • From: Buzz Andersen <email@hidden>
  • Date: Mon, 28 Oct 2002 22:06:25 -0700

I'd like to have my application's main window similar to that of
Sherlock's: a main view which resizes itself to fit various "channels,"
each of which is accessed by pressing a button at the top.

This is fairly easy to do by having different views and using NSWindow's setContentView: method (as well as the setFrame: methods to resize). More info here:

http://www.macdevcenter.com/pub/a/mac/2002/02/15/cocoa.html

I'm not sure about the NSPreferencePane stuff--I think what you are doing would be better served by the approach outlined above. You could even implement a plug-in architecture that would load NSViews from bundles and display them as the contentView in the main window (sort of like what Watson does).

--
Buzz Andersen
email: email@hidden
web: http://www.scifihifi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: EOF API?
  • Next by Date: Custom Controls and Controllers
  • Previous by thread: A Sherlock-style interface
  • Next by thread: Custom Controls and Controllers
  • Index(es):
    • Date
    • Thread