• 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: how to select a nstabviewitem index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to select a nstabviewitem index


  • Subject: Re: how to select a nstabviewitem index
  • From: John Pannell <email@hidden>
  • Date: Wed, 29 Mar 2006 17:09:44 -0700

Hi Yorh-

If I understand you correctly, you want to use the

– indexOfTabViewItemWithIdentifier:

method of NSTabView

HTH!

John

On Mar 29, 2006, at 5:03 PM, Yorh wrote:

Hi to all,

I have a nstabview with some nstabviewitems.
I need to know the nstabview index knowing the identifier.
ie nstabviewitem identifier = hello world!

int index = [myTabView indexOfTabViewItem:[theTabViewItem identifier]];

but this not work.
I cannot find nothing in the sample code and docs too....

Any idea?

thank you all
Yorh

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


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: 
 >how to select a nstabviewitem index (From: Yorh <email@hidden>)

  • Prev by Date: how to select a nstabviewitem index
  • Next by Date: moving an NSTabViewItem
  • Previous by thread: how to select a nstabviewitem index
  • Next by thread: Cocoa Newbies: Is this the best list?
  • Index(es):
    • Date
    • Thread