This is the code repository for Swift Data Structure and Algorithms, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
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:
var myDict = [1: "One", 2: "Two", 3: "Three"]
if let optResult = myDict[4] {
print(optResult)
}
else {
print("Key Not Found")
}
| Chapter number | Software required (with version) | Hardware specification | OS required |
|---|---|---|---|
| All | Xcode 8.1 | Any hardware capable of running macOS | macOS |