How to do it...

  1. Install Carthage in your system; you can download the latest version, Carthage.pkg, from the following URL:
  2. If you are already familiar with Carthage and it's already installed in your system, you can skip to step 5.
  3. To install a third-party library, we will use a dependency manager tool to organize these dependencies. In the previous chapters, we talked about an awesome tool, which is Cocoapods. To learn something new in this chapter, we will install a third-party library using another tool, which is Carthage.
  4. Create a new Xcode project with the Single View Application template and with name the KeychainDemo.
  5. Once Carthage is installed, you can start adding frameworks to your ...

Get iOS Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.