• 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: What classes have -init?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What classes have -init?


  • Subject: Re: What classes have -init?
  • From: mmalc Crawford <email@hidden>
  • Date: Thu, 11 Feb 2010 12:18:55 -0800

On Feb 11, 2010, at 12:08 pm, Gordon Apple wrote:

> My point was that if you could count on "init" being called internally and
> all you needed was to initialize some ivars, you could override "init" and
> not have to override the (sometimes more involved) designated initializer
> and possibly other initializers.  You could still use the (superclass)
> designated initializer or a class-level instantiator without overriding it.
>
Please read "The Designated Initializer" in <http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocAllocInit.html>, in particular the section starting "Figure 3-3  Covering the Designated Initializer".

mmalc

_______________________________________________

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

References: 
 >Re: What classes have -init? (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: What classes have -init?
  • Next by Date: Re: iPhone: UIWebView not displaying until scrolled?
  • Previous by thread: Re: What classes have -init?
  • Next by thread: Re: What classes have -init?
  • Index(es):
    • Date
    • Thread