i dont know what to do. I cannot add any .H file to Target in my projects. I tried add it from Add FIle, from 开发者_如何转开发drag and drop then info file and check target. Its greyed. when i try to add new file and choose H a cannot check to add it to target. whats is wrong?
Headers are not compiled, so they don't get added to the target.
Look at all the headers currently in your project like your XxxxxAppDelegate.h, you'll see it's not added to the target either.
the header files are not compiled into the project, only the source files and frameworks. The header files are only there to tell the compiler what it can expect in regards to sending messages to objects
精彩评论