• 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: Newbie Question re Allocation & Initialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question re Allocation & Initialization


  • Subject: Re: Newbie Question re Allocation & Initialization
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 19 May 2008 19:13:32 -0600


On May 19, 2008, at 7:07 PM, Brad Gibbs wrote:

It all makes perfect sense, I just didn't know that not alloc'ing and init'ing was a fully legit move.


Well, you do need to set the pointer to point to something, or else accessing it will in the best case raise an exception, and in the worst case cause a crash.

Nick Zitzmann
<http://www.chronosnet.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


References: 
 >Newbie Question re Allocation & Initialization (From: Brad Gibbs <email@hidden>)
 >Re: Newbie Question re Allocation & Initialization (From: Jack Repenning <email@hidden>)
 >Re: Newbie Question re Allocation & Initialization (From: Brad Gibbs <email@hidden>)

  • Prev by Date: NSStream, NSInputStream, NSOutputStream
  • Next by Date: Re: Bindings: Allows Editing Multiple Values Selection
  • Previous by thread: Re: Newbie Question re Allocation & Initialization
  • Next by thread: Re: Cocoa-dev Digest, Vol 5, Issue 837
  • Index(es):
    • Date
    • Thread