Re: Method not seeing array as array
Re: Method not seeing array as array
- Subject: Re: Method not seeing array as array
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 2 Feb 2005 13:44:12 -0800
On Feb 2, 2005, at 12:21 PM, Andrew Farmer wrote:
- (id)init
{
self = [super init]; // <-- note that we're initializing `self'
here!
if(!self) return nil;
// initialize variables, etc
return self;
}
I don't know what exactly happens if you don't initialize `self', but
your problems are probably stemming from this issue.
Given that AppController is a direct subclass of NSObject, I doubt this
is the case here. More likely at least one issue relates to:
NSLog(@"channel %@ added",[channelArray count]);
should be:
NSLog(@"channel %d added",[channelArray count]);
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden