• 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: Strange indexOfTabViewItemWithIdentifier behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Strange indexOfTabViewItemWithIdentifier behavior
      • From: Yorh <email@hidden>
References: 
 >Strange indexOfTabViewItemWithIdentifier behavior (From: Yorh <email@hidden>)

  • Prev by Date: Strange indexOfTabViewItemWithIdentifier behavior
  • Next by Date: Re: Strange indexOfTabViewItemWithIdentifier behavior
  • Previous by thread: Strange indexOfTabViewItemWithIdentifier behavior
  • Next by thread: Re: Strange indexOfTabViewItemWithIdentifier behavior
  • Index(es):
    • Date
    • Thread