Re: C and objective C together
Re: C and objective C together
- Subject: Re: C and objective C together
- From: Ondra Cada <email@hidden>
- Date: Wed, 3 Apr 2002 00:57:59 +0200
Sorry, there's a small nonsense there:
On Tuesday, April 2, 2002, at 10:23 , Ondra Cada wrote:
static Controller *_theCurrentController;
@implementation Controller
-(void)awakeFromNib {
_theCurrentController=self;
}
@end
So as it worked properly, it should have been
static NSTextView *_theCurrentController;
@implementation Controller
-(void)awakeFromNib {
_theCurrentController=textView;
}
@end
If you tried to compile the original buggy code, there would be warnings
to point out the problem.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.