• 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: Failing in -init
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failing in -init


  • Subject: Re: Failing in -init
  • From: Roland King <email@hidden>
  • Date: Wed, 27 Jul 2011 14:42:48 +0800

Yes and yes. Read the paragraph titled "handling initialization failure" in "the objective-c programming language" which covers this.



On Jul 27, 2011, at 14:28, Rick Mann <email@hidden> wrote:

> If my object's initialization fails, can I return nil from it? If that happens, do I need to call [self release]?
>
> --
> Rick
>
> _______________________________________________
>
> 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
_______________________________________________

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: Failing in -init
      • From: Rick Mann <email@hidden>
References: 
 >Failing in -init (From: Rick Mann <email@hidden>)

  • Prev by Date: Failing in -init
  • Next by Date: Re: Failing in -init
  • Previous by thread: Failing in -init
  • Next by thread: Re: Failing in -init
  • Index(es):
    • Date
    • Thread