• 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: How I was able to select between 3 different toolbars in one window, is there a better way?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How I was able to select between 3 different toolbars in one window, is there a better way?


  • Subject: Re: How I was able to select between 3 different toolbars in one window, is there a better way?
  • From: Andy Armstrong <email@hidden>
  • Date: Tue, 8 Feb 2005 19:53:14 +0000

On 8 Feb 2005, at 19:49, James Housley wrote:

I have an App with 3 tabs that select 3 different views to access different parts. I wanted a unique toolbar for each of the tabs. The variable "tabsFirsts_index" is used to track which tab is the active one, this is needed so I can do some stuff on the will change and did change where I want to know the last table the user was on. Anyways, I created the 3 different toolbars and saved them out into a NSDictionary, and then used those dictionaries to switch between them.

Why use a dictionary when an array would suffice? You're effectively turning numeric indexes into dictionary keys in your code anyway...


--
Andy Armstrong, hexten.net

_______________________________________________
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: How I was able to select between 3 different toolbars in one window, is there a better way?
      • From: James Housley <email@hidden>
References: 
 >How I was able to select between 3 different toolbars in one window, is there a better way? (From: James Housley <email@hidden>)

  • Prev by Date: How I was able to select between 3 different toolbars in one window, is there a better way?
  • Next by Date: Re: How I was able to select between 3 different toolbars in one window, is there a better way?
  • Previous by thread: How I was able to select between 3 different toolbars in one window, is there a better way?
  • Next by thread: Re: How I was able to select between 3 different toolbars in one window, is there a better way?
  • Index(es):
    • Date
    • Thread