• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: <<error: syntax error before 'OBJC_STRING' token>>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 ><<error: syntax error before 'OBJC_STRING' token>> (From: <email@hidden>)

  • Prev by Date: Re: <<error: syntax error before 'OBJC_STRING' token>>
  • Next by Date: Re: Xcode project has lost track of file modification
  • Previous by thread: Re: <<error: syntax error before 'OBJC_STRING' token>>
  • Next by thread: Changing the default localization
  • Index(es):
    • Date
    • Thread