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

What classes have -init?


  • Subject: What classes have -init?
  • From: James Walker <email@hidden>
  • Date: Wed, 10 Feb 2010 12:23:02 -0800

I think at times I've written things like [[NSMutableArray alloc] init] with no apparent ill effects, but now I notice that the docs for NSMutableArray and NSArray don't say that there is an init method. The NSObject docs say that an init method might raise an exception. Is there some other init rule that I've missed, or have I just gotten lucky?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________


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: What classes have -init?
      • From: "Henry McGilton (Boulevardier)" <email@hidden>
  • Prev by Date: Re: Large queue of messages for another app
  • Next by Date: Re: What classes have -init?
  • Previous by thread: Re: Using NSKeyedArchiver to save and restore state on iPhone apps
  • Next by thread: Re: What classes have -init?
  • Index(es):
    • Date
    • Thread