#Swift 3 Protocol-Oriented Programming - Second Edition This is the code repository for [Swift 3 Protocol-Oriented Programming - Second Edition](Current URL?utm_source=github&utm_medium=repository&utm_campaign=9781787129948 ), published by Packt. It contains all the supporting project files necessary to work through the book from start to finish. ##Instructions and Navigations All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
class Vehicle {
fileprivate var vehicleTypes = [TerrainType]()
fileprivate var vehicleAttackTypes = [TerrainType]()
fileprivate var vehicleMovementTypes = [TerrainType]()
fileprivate var landAttackRange = -1
fileprivate var seaAttackRange = -1
fileprivate var airAttackRange = -1
fileprivate var hitPoints = 0
}
All chapters have code arranged chapterwise. To follow along with the examples in this book, the reader will need to have an Apple computer with OS X 10.12 or higher installed. They will also need to install Xcode version 8.0 or higher with Swift version 3 or higher. At least a basic knowledge of the Swift programming language is required.
##Related Products
-
[Protocol-Oriented Programming with Swift](Current URL?utm_source=github&utm_medium=repository&utm_campaign=9781785882944)
-
[Mastering Swift 3](Current URL?utm_source=github&utm_medium=repository&utm_campaign=9781786466129)
-
[Swift 3 Object Oriented Programming - Second Edition](Current URL?utm_source=github&utm_medium=repository&utm_campaign=9781787120396) ###Suggestions and Feedback Click here if you have any feedback or suggestions.