Re: How I was able to select between 3 different toolbars in one window, is there a better way?
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