Re: <<error: syntax error before 'OBJC_STRING' token>>
Re: <<error: syntax error before 'OBJC_STRING' token>>
- Subject: Re: <<error: syntax error before 'OBJC_STRING' token>>
- From: "Hank Heijink (Mailinglists)" <email@hidden>
- Date: Fri, 11 Jul 2008 11:33:22 -0400
Looks like you've got a string constant in a method declaration (or
did you give us the first line of the definition? Doesn't matter: they
both won't fly):
- (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)
mainBundle;
should work.
On Jul 11, 2008, at 11:19 AM, <email@hidden> wrote:
- (id)initWithNibName:(NSString *)@"PaintingView.xib" bundle:
(NSBundle *)
mainBundle; {
<<error: syntax error before 'OBJC_STRING' token>>
if (self = [super initWithNibName:@"PaintingView.xib"
bundle:mainBundle]) {
// Initialization code
}
return self;
}
In my PaintingViewControllers.m, I can't resolve an error in red:
<<error: syntax error before 'OBJC_STRING' token>>.
Can someone help?
--------------------------------------
Stop! Global Warming ~ Yahoo! JAPAN Earth Project
http://pr.mail.yahoo.co.jp/earthproject/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden