• 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: NSTabView help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTabView help


  • Subject: Re: NSTabView help
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 24 Feb 2007 12:33:18 -0600


On Feb 23, 2007, at 7:55 PM, email@hidden wrote:

try

currentTabViewItem = [[NSTabViewItem alloc] init];

On Feb 24, 2007, at 2:45 AM, Silicon wrote:

currentTabViewItem =[[NSTabViewItem init]alloc];

While the alloc and init were indeed reversed, you should actually use initWithIdentifier: when doing add tab view items programmatically. This is all mentioned in the docs.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >NSTabView help (From: Silicon <email@hidden>)
 >Re: NSTabView help (From: email@hidden)

  • Prev by Date: Re: Call of super from a custom NSCell in a custom NSControl
  • Next by Date: Re: Newbie question: getting an object back from just a pointer
  • Previous by thread: Re: NSTabView help
  • Next by thread: Question about NSResponder cancelOperation
  • Index(es):
    • Date
    • Thread