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 -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -