https://docs.swift.org/swift-book/documentation/the-swift-programming-language/guidedtour/

- is a normal function (instance method, non-static) + is a class function (class method, static)

When doing pod install and you get “Abort trap 6”, do this:

sudo gem uninstall cocoapods
sudo gem install cocoapods
pod install

optional, “Optionals say either “there is a value, and it equals x” or “there isn’t a value at all”.

An Optional is a type on its own, actually one of Swift 4’s new super-powered enums.”

argument label, see the “from hometown” and “from”:

func greet(person: String, from hometown: String) -> String {
    return "Hello \(person)! Glad you could visit from \(hometown)."
}
print(greet(person: "Sif", from: "Cupertino"))
// Prints "Hello Sif! Glad you could visit from Cupertino."

SwiftUI

https://developer.apple.com/tutorials/swiftui/creating-and-combining-views

Views