开发者

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


  1. After compiling the project, you'll get a dylib-file (you may already have it?).
  2. Now, drag the dylib-file to your app-Xcode-project.
  3. Go to your target settings and add the includes-folder to your Header Search Paths so that you can use it's public classes.
  4. Now make sure it's in your target's 'Link with library'-list.
  5. Compile!
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜