user1256477
user1256477

Reputation: 11191

NSMutableURLRequest iphone

my problem seems to be quite basic, but I can't find it!

 NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://miip.com"]];

and I get this error:

 Expected expression

I can't find it!

Thanks!

Upvotes: 0

Views: 113

Answers (1)

Andreas Fink
Andreas Fink

Reputation: 176

The line above is valid. This sounds like a coding error outside this line. maybe you are missing a ; in the line before or something like that.

Upvotes: 1

Related Questions