Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Polished metal.. and tabview!



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:
http://lists.apple.com/mailman/options/cocoa-dev/meirmans% 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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Polished metal.. and tabview! (From: Mark Manes <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.