Re: do you init your instance variables in init method or outside the class?
Re: do you init your instance variables in init method or outside the class?
- Subject: Re: do you init your instance variables in init method or outside the class?
- From: Alex Zavatone <email@hidden>
- Date: Wed, 18 Jul 2012 10:55:23 -0400
On Jul 18, 2012, at 10:19 AM, Lee Ann Rucker wrote:
>
>>> fly2never wrote:
>>> name = [NSString string];
>>
>>> because sending a method to nil is perfectly safe, unlike C++.
But doesn't the other way around, calling an undefined method in/on an object, instantly SIGABRT?
_______________________________________________
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