Re: Looking at self = [super init].
Re: Looking at self = [super init].
- Subject: Re: Looking at self = [super init].
- From: Scott Ribe <email@hidden>
- Date: Fri, 29 May 2015 12:16:53 -0600
On May 29, 2015, at 11:49 AM, Alex Zavatone <email@hidden> wrote:
>
> Would this handle it properly?
>
> if (!(self = [super init])) {
> return nil;
> }
Yes.
> if (!(self == [super init]))
No. But not sure whether you were asking about that or not…
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
_______________________________________________
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