Use iOS to develop personal recommendations for using third-party libraries

Source: Internet
Author: User

  The popularity of a language is accompanied by the abundance of third-party libraries, and the corresponding tools that rely on library management will also appear. Cocoapods is to OBJC, as Maven/gradle to Java and Gem to Ruby. Cocoapods is basically created in the GitHub community, open source and active in the community. In addition to the central warehouse on GitHub, you can also build your own. (Learn recommended iOS Development video tutorial "OC language") But as far as I am concerned, the use of Cocoapods is not recommended, the slots are as follows:1. Tools like Maven are created to manage huge third-party library dependencies, control versions, build projects, and so on, and it's hard to imagine a Web project that relies on hundreds of jar packages to be built without package management. However, iOS development is the development of the client ah, if there is a project that relies on so many third-party tools, the app can remain stable. Typically an iOS project will not have so many packages to rely on. 2, according to common sense, a person's hand can not have too many projects at the same time, it is unlikely to create a day of N apps to publish. Cocoapods can save a lot of repetitive work, not as much as it brings trouble. 3, modification and debugging inconvenience. If a third-party library requires a small amount of modification to fulfill the requirements, handling it with cocoapods can be cumbersome. for third-party libraries, it is also not recommended to use too much, as follows:1, consumption time, an open source library, take over to carefully examine the code quality, confirm whether reliable enough. If there is a problem, you need to carefully review the internal implementation of the Open Source Library. If these jobs are too time consuming, you might as well do it yourself. 2, the maintainability is poor. In the event of system upgrades, API replacements, third-party libraries cannot ensure that there are no problems. It's hard to find people to maintain when something goes wrong. If you follow the changes in third-party libraries, you are still prone to new problems.

3, legal issues. Large companies need to carefully review the license agreement, small companies are not afraid of all the problem.

If you want to learn more about Mobile Internet Tutorials , You can visit e-mentor network.

Use iOS to develop personal recommendations for using third-party libraries

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.