• 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: + (void) initialize not getting called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: + (void) initialize not getting called


  • Subject: Re: + (void) initialize not getting called
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 24 Jul 2011 14:02:32 -0700

On Jul 24, 2011, at 12:59 PM, Andy Lee wrote:

> Another thought -- is it possible you have a subclass of DBWord that implements +initialize and needs to call super?

+initialize methods shouldn’t call super. The runtime sends the message separately to each class in the hierarchy.

As to the original question — I don’t know why +initialize wouldn’t be called. The code looks OK to me.

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: + (void) initialize not getting called
      • From: Andy Lee <email@hidden>
    • Re: + (void) initialize not getting called
      • From: Ken Tozier <email@hidden>
References: 
 >+ (void) initialize not getting called (From: Ken Tozier <email@hidden>)
 >Re: + (void) initialize not getting called (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Does anyone else dislike Xcode 4?
  • Next by Date: Re: More on drawRect not getting called
  • Previous by thread: Re: + (void) initialize not getting called
  • Next by thread: Re: + (void) initialize not getting called
  • Index(es):
    • Date
    • Thread