• 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: Polished metal.. and tabview!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Polished metal.. and tabview!


  • Subject: Re: Polished metal.. and tabview!
  • From: PGM <email@hidden>
  • Date: Tue, 7 Nov 2006 19:46:07 -0500

About the index of the current tab I use [tabView indexOfTabViewItem: [tabView selectedTabViewItem]], though I actually made a category for that as I found that was something basic missing from the API, and makes the code a bit more readable:

@implementation NSTabView(MyApp)
- (int)indexOfSelectedTabViewItem
{
	return [self indexOfTabViewItem:[self selectedTabViewItem]];
}

@end

Cheers, Patrick

On 7-Nov-06, at 13:34 PM, Mark Manes wrote:

Once again, greetings one and all. Let me thank everyone for their help on my table view issues. I am past them now.. thanks to this groups guiding hand. I felt silly as I found out my answer moments after sending the message. That was after I had spent some time already on it. Sometimes the easy things eludes me. :)

I have a question -- I am working on an application that interfaces to an iPod and I want to use polished metal. I know that this is not available in Interface Builder--but what is the way to do this? I looked around and found PolishMetal.m/.h from a fellow on the net--but it used PNG images and did not work so well for me--there were many drawing issues.

So.. how is this trick done?

On a separate note--I am having a hard time figuring out what tab I am on in a tabview. I have implemented the delegate and I am able to get the label of the tab -- but it seems wrong to do a string compare to figure out which tab the user is currently facing. Any suggestions on how to get the tab number?

Many thanks.. this list is straight from heaven.

-mark=
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sympatico.ca


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Polished metal.. and tabview! (From: Mark Manes <email@hidden>)

  • Prev by Date: Re: Getting current user short name
  • Next by Date: Re: First click in custom window?
  • Previous by thread: Re: Polished metal.. and tabview!
  • Next by thread: compiling JNI library for PPC and Intel hardware?
  • Index(es):
    • Date
    • Thread