On Apr 26, 2012, at 1:17 PM, Fritz Anderson wrote:

> You should be able to get this from any elementary book about C.

I'm sure you are correct.

>> NSString *theString = nil; 
> 
> fills it with zero (not a pointer to anything).
> 
>> NSString *theString;
> 
> and doesn't fill it with anything; the variable contains whatever junk was 
> left in the portion of memory the variable now uses.

Thank you these were excellent answers.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to