Sublassing NSObject
Sublassing NSObject
- Subject: Sublassing NSObject
- From: Milen Dzhumerov <email@hidden>
- Date: Wed, 26 Apr 2006 17:28:41 +0100
Hi all,
I've just sub-classed NSObject and overridden -init to output a
message using the NSLog function. Here's the -init method:
- (id) init {
self = [super init];
if (self != nil) {
NSLog("this is cool");
}
return self;
}
This is the only thing the class does and if I try to run it, it just
crashes with SIGSTOP. Any help is greatly appreciated.
Kind regards,
Milen
PS. I'm sending the message again because I think mailman didn't
forward it to the list because the mail didn't have a subject.
_______________________________________________
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