iphone - import main project file in referenced project ? -


i integrated three20 project in app. want go called class. unable import class. in ttphotoviewcontroller:

mainmenuvc *mmenu = [[mainmenuvc alloc] init]; [self.navigationcontroller pushviewcontroller:mmenu animated:yes]; [mmenu release]; 

but xcode cant file class. "use of undeclared identifier..."

i tried import following, none worked:

#import <myapp/mainmenuvc.h> #import "myapp/mainmenuvc.h" #import <../myapp/mainmenuvc.h> 

have tried this

[self.navigationcontroller poptorootviewcontroller animated:yes]; 

you cannot import class files vice versa means. if import class b in class this: import "b" cannot import class in class b this: import "a" instead use @class "a" in .h file


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -