• 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
[super initialize]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[super initialize]?


  • Subject: [super initialize]?
  • From: "Christopher Hickman" <email@hidden>
  • Date: Fri, 2 Sep 2005 15:39:46 -0400

I was reading AGProcess.m and saw this class method:

+ (void)initialize {
	AGMachStatsInit();
	[super initialize];
}

Isn't the [super initialize] message wrong, or at least redundant?  I
thought the docs said that the runtime sends +initialize messages to
superclasses before their subclasses get them.

Is there any reason to do this?

Topher


 _______________________________________________
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: [super initialize]?
      • From: Charlton Wilbur <email@hidden>
    • Re: [super initialize]?
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Embedding a framework...
  • Next by Date: Re: Embedding a framework...
  • Previous by thread: Re: Embedding a framework...
  • Next by thread: Re: [super initialize]?
  • Index(es):
    • Date
    • Thread