Re: Strange indexOfTabViewItemWithIdentifier behavior
Re: Strange indexOfTabViewItemWithIdentifier behavior
- Subject: Re: Strange indexOfTabViewItemWithIdentifier behavior
- From: j o a r <email@hidden>
- Date: Mon, 3 Apr 2006 22:22:51 +0200
On 3 apr 2006, at 22.15, Yorh wrote:
When I check a nstabviewitem index the int variable retuned me is
wrong, infact I got a number like 2147483647 ....
It's not wrong, it's the value of "NSNotFound", meaning that there
were no tab in the tab view for the identifier you tried to look up.
Note that in the code snippet you showed above, you created a tab
view item, but didn't actually add it to any tab view.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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