Book Image

Diving Deep into Swift

By : Jonathan Crooke
Book Image

Diving Deep into Swift

By: Jonathan Crooke

Overview of this book

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux. This course takes you deep into the Swift language. It aims to take you beyond the fluency you need for everyday Swift development, and towards becoming a true master and understand how the language works at a deep level. You will learn Swift development, mostly using Xcode on Apple platforms, along with the ability to port your knowledge to Ubuntu Linux. You will learn stylish tricks to write elegant, professional and powerful Swift code. With this Swift course, you will have a working understanding of how the Objective-C heritage of Apple’s platforms shapes many of its APIs. This is essential knowledge to take you past from an intermediate level into true mastery. By the end of this course, you will be working heavily with Xcode, and will be ready to tackle graphical user interface development on macOS, iOS, watchOS and tvOS. Finally, you will be ready to build your own Swift applications with ease
Table of Contents (6 chapters)
Chapter 3
Swift Dependency Management
Content Locked
Section 1
Cocoa Dependency Management and CocoaPods
Adding third-party libraries to your projects, and maintaining them long-term is not a simple task, and especially if you are relatively new to Xcode and its build system. Fortunately, there are a number of tools available that you can use - Introduce the leading dependency management tools; Carthage, the Swift package manager, and CocoaPods. - Recommend CocoaPods as the dependency management tool to get started with, so let us cover how to install it, and set it up - Discover features to find some libraries and add them to a project