Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: Semantic Issue: Interface type cannot be statically allocated?

Tags:

ios

ipad

What does "error: Semantic Issue: Interface type cannot be statically allocated" means ?

This is the wrong line:

UIViewController imageWithCaptionController = [[UIViewController alloc] initWithNibName:@"ImageWIthCaption" bundle:nibBundleOrNil];

thanks Patrick

like image 771
aneuryzm Avatar asked May 06 '11 13:05

aneuryzm


1 Answers

You're probably missing '*' before imageWithCaptionController, your line should be

UIViewController *imageWithCaptionController = ...
like image 152
Vladimir Avatar answered Oct 29 '22 18:10

Vladimir