Re: Initializing an Array
Re: Initializing an Array
- Subject: Re: Initializing an Array
- From: Brian Webster <email@hidden>
- Date: Tue, 22 Jan 2002 14:33:27 -0600
On Tuesday, January 22, 2002, at 02:06 PM, cocoa-dev-
email@hidden wrote:
@implementation AppCrasher
- (id)initWithString:(NSString *)aString
{
myString = [aString copy];
[myString retain];
return self;
}
I notice that you don't call [super init] in your
initWithString: method. Is this so in your real app, or did you
just forget in this example?
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster