Re: Cocoa-dev Digest, Vol 4, Issue 795
Re: Cocoa-dev Digest, Vol 4, Issue 795
- Subject: Re: Cocoa-dev Digest, Vol 4, Issue 795
- From: Geforce8800 <email@hidden>
- Date: Wed, 15 Aug 2007 10:16:28 +0000
Hi everyone. I am confused about a problem of extending the NSWindow
class.
First, I declare a interface like this:
@interface newWindow: NSWindow
{}
@end
then the implement file is like this:
-(id) init
{
self = [super init];
if(self != nil)
{
printf("Hello World\n");
}
return self;
}
however, when I set up a window to newWindow class, and run the
application , there is no Hello World show up as I excepted. Can
anyone tell me what is wrong?
Thank you in advanced.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden