objective c - iPhone : Unable to create Object of File -



objective c - iPhone : Unable to create Object of File -

i trying phone call method of 1 file file.

for this, creating files object , importing .h file.

while importing file able see .h file other files can see files(.h,.m,.xib).

#import "firstview.h" firstview *first = [firstview alloc] init];

but not allowing me create object of file , not showing error or warning.

what should ?

you missing bracket in code:

#import "firstview.h" firstview *first = [[firstview alloc] init];

iphone objective-c cocoa-touch ios4

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -