简体   繁体   中英

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 project 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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM