iOS header file Search path tutorial

Source: Internet
Author: User
Road is divided into absolute path and relative path I suggest more use of relative path, so that the project will worry a lot of the absolute path to find a way: Click the project a file, right-click on the "Show in Finder" to open the terminal, CD folder dragged into, you can appear a road strength, This is the path to the absolute path relative to the current project file, "./" means the current project folder, followed by all the real folder names, the project internal group is invalid, ". /"represents the upper directory, in Xcode" $ (Project_dir) "also indicates the current project folder directory needs to understand the two parameter meaning: non-recursive non-recursive lookup recursive recursive lookup xxx/** non-recursive Also means that recursive lookup, will be automatically converted to the xxx recursive example, Hello project folder under the Lib folder exists helloLib.h for Hello add helloLib.h header file search path default is non-recursive1/users/ Xxxx/desktop/hello/lib2./lib3. /hello/lib4./recursive5./** non-recursive6$ (project_dir)/lib7$ (project_dir)/** recursive with so many examples, you should be able to blend in, The header file search path must be assigned to that level, but the general works by default are found recursively from the current project folder, only when you add a third-party library, or when you make a static library.

iOS header file Search path tutorial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.