• 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: toolbar and switching a NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: toolbar and switching a NSView


  • Subject: Re: toolbar and switching a NSView
  • From: Marco Scheurer <email@hidden>
  • Date: Mon, 11 Feb 2002 15:45:18 +0100

On Monday, February 11, 2002, at 07:14 am, Chris Atwood wrote:
Does anyone know the location of some sample code for a toolbar changing the contents of its window using NSView?

I am looking to build an app whose's toolbar functionality is like apple's "system preferences" or OmniWeb preferences.

Depending on your application it could be simpler (and better) to use an NSMatrix and an NSTabView to achieve almost the same result (as in Mail, ProjectBuilder, Terminal). When using a toolbar you have no cue of what the "selected item" is, while a matrix selection is highlighted. On the other hand, if you have many items, and/or want the user to customize it, a toolbar may be better. AFAIK, there is no official guildelines: iTunes and InterfaceBuilder use a TabView with tabs, TextEdit has a huge panel with 7 boxes...

I have looked and looked and have not found any easy to read code that does this.

Other than what you can find in Omni's frameworks, I don't know of any example.

Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
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.

References: 
 >toolbar and switching a NSView (From: Chris Atwood <email@hidden>)

  • Prev by Date: [OT rant] apology
  • Next by Date: Re: newbie question on 'Cocoa Programming for Mac OS X'
  • Previous by thread: Re: toolbar and switching a NSView
  • Next by thread: Re: toolbar and switching a NSView
  • Index(es):
    • Date
    • Thread