|
From: | Ivan Vučica |
Subject: | Re: empty document at Graphos startup |
Date: | Mon, 19 Dec 2011 20:39:58 +0100 |
BTW, I've noticed this bogus code in the -init method:
[super init];
if (self)
This should read
self = [super init];
if (self)
or more compactly
if ((self = [super init]) != nil)
self = [super init];if(!self)return nil;// body herereturn self;
[Prev in Thread] | Current Thread | [Next in Thread] |