i am trying to call method of one file from another file.
For this, I am creating another files object and for that importing .h file.
While importing the file I a开发者_开发问答m only able to see .h file where for the other files I can see all files(.h,.m,.xib).
#import "FirstView.h"
FirstView *first = [FirstView alloc] init];
But It does not allowing me to create object of that file and even it is not showing any error or warning.
what should I do ?
You are missing a bracket in your code:
#import "FirstView.h"
FirstView *first = [[FirstView alloc] init];
精彩评论