On Fri, 8 Oct 2010 00:57:01 -0700, Kyle Sluder <[email protected]>
said:
>
>- (id)init {
> if (!(self = [super init]))
> return nil;
>
> // do other initialization
>
> return self;
>}
>
>To my brain, it might as well be required syntax.
Apple has signaled that the canonical form is now in fact:
- (id) init {
self = [super init];
if (self) {
// do other initialization
{
return self;
}
m.
--
matt neuburg, phd = [email protected], <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]