Reputation: 5589
I hope you can help with that.
OK i have created new group/folder under Classes - Libs: Classes/Libs and have created class there Msg.h
now I am trying to import it into my RootViewController
#import "Libs/Msg.h"
but I am getting an error:
Libs/Msg.h = no such file or directory
what should i Do ?
cheers, /marcin
Upvotes: 1
Views: 160
Reputation: 66
What path is your RootViewController in? If you give a path in import, it must be relative to the current file. Also check the case of both directory and file; Mac OS X is case-insensitive, but Xcode and iPhone are not.
Upvotes: 0
Reputation: 5589
OK, as it turns out, the Libs is not required just
#import "Msg.h"
is enaugh even if its in folder level down.
thanks
Upvotes: 1