Re: NSTabView; How to get the current / active tab ..?
Re: NSTabView; How to get the current / active tab ..?
- Subject: Re: NSTabView; How to get the current / active tab ..?
- From: Greg Guerin <email@hidden>
- Date: Sun, 7 Jun 2009 11:48:22 -0700
Martin Batholdy wrote:
if([tabViewItemX isEqualTo:[tabView tabViewItemAtIndex:0]]){
Don't use isEqualTo: in this situation. Read the docs for
isEqualTo:, and compare with the docs for isEqual:.
Use isEqual:, which I suspect will work, or just use == since you're
probably interested in actual pointer equality.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden