• 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: Using Subclasses with Standard Classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Subclasses with Standard Classes


  • Subject: Re: Using Subclasses with Standard Classes
  • From: Seth Willits <email@hidden>
  • Date: Sat, 9 Aug 2003 20:55:11 -0700

On Saturday, August 9, 2003, at 06:44 PM, The Amazing Llama wrote:

Your code is being called when the tabView's -selectedTabViewItem is not a CustomTab. This is probably because the NSTabView contains a real NSTabViewItem, perhaps the default one that IB put in there. Check with isKindOfClass: or similar method to make sure -getMyObject safe to call, or make sure to -removeAllTabs from the NSTabView before you add some.

Ahh.. you're right. I looked at it, and what happened was I commented out the call to the method that deletes the first tab because I thought that the method (-(id)init) would be called on its own.

Thanks much,

Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"We call that person who has lost his father, an orphan; and a widower that
man who has lost his wife. But that man who has known the immense
unhappiness of losing a friend, by what name do we call him? Here every
language is silent and holds its peace in impotence."
-- Joseph Roux
------------------------------------------------------------------------ ---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Using Subclasses with Standard Classes (From: The Amazing Llama <email@hidden>)

  • Prev by Date: Java Bridge and javax.imageio.stream.ImageInputStream
  • Next by Date: Toolbar Item First Responder
  • Previous by thread: Re: Using Subclasses with Standard Classes
  • Next by thread: Java Bridge and javax.imageio.stream.ImageInputStream
  • Index(es):
    • Date
    • Thread