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

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -