Re: NSArray bad access?
Re: NSArray bad access?
- Subject: Re: NSArray bad access?
- From: Scott Anguish <email@hidden>
- Date: Mon, 17 Jun 2002 04:22:20 -0400
assuming this code is verbatim, the problem is that you're never calling
[super init] in your -init of MyObject.. same in MyMainObject.
the retain is an issue as well.. but others have said that..
On Monday, June 17, 2002, at 03:31 AM, Philippe Hausler wrote:
<snip>
- (id)init
{
s = [NSMutableArray arrayWithObject:@"test"];
return self;
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.