Error message when compiling while-loop expected identifier
- by Michael Amici
When trying to compile an infinite while loop in xcode iphone view based application, it gives me an error that reads expected identifier or '(' before 'while'. I made it as simple as possible.
#import "Lockerz_NotifierViewController.h"
@implementation Lockerz_NotifierViewController
while (1=1)
{
NSLog(@"Hello? PLEASE HELP ME!!!!!!!!!!");
}