iPhone SDK: How to add a compiled static library to my project?(AQGridView)
I plan to use AQGridView which I found on github, it says:
"This project compiles to a static library which you can include, or you can just reference the source files directly. Note that there are some resources to copy into your proje开发者_高级运维ct for the tableview-style selection backgrounds."
But I have no idea what does this means, can anyone one tell me clearly the steps how can I add this to my project?
Thanks
- After compiling the project, you'll get a
dylib
-file (you may already have it?). - Now, drag the
dylib
-file to your app-Xcode-project. - Go to your target settings and add the
includes
-folder to yourHeader Search Paths
so that you can use it's public classes. - Now make sure it's in your target's 'Link with library'-list.
- Compile!
精彩评论