This project contains ideas, notes and other useful information related to the Swift language itself and how it works.
- Swift uses Unicode-correct Strings with UTF-8 encoding > good for internationalization
- Inferred types
- Memory - reference counting
- Generics
- Protocol extensions
- First class functions > Use functions and methods inside other functions or methods; pass functions as arguments, save them in properties; pass initializers as arguments
- Functional programming patterns - map, filter
- Swift uses value types for commonly used types, like Arrays or Dictionaries
- Optionals - binding, chaining, nil coalescing
- LLVM Compiler
- Source and binary compatibility
- Swift for Server
- Swift Package Manager - build, run, test and package Swift libraries and executables; easy to distribute the code
- Array vs Set vs Dictionary
- Tuples - groups of values
- Swift is type-safe: if you need an Int, you can't pass a String by mistake; Swift does not let you pass an Optional String when you actually need a String (ie non-optional String)
- https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html
- https://docs.swift.org/swift-book/index.html
- https://developer.apple.com/swift/
- https://developer.apple.com/swift/resources/
- https://developer.apple.com/documentation/swift/swift_standard_library/
- https://developer.apple.com/videos/swift
- https://developer.apple.com/learn/curriculum/
- https://www.raywenderlich.com/28433240-programming-in-swift-functions-types
- https://www.raywenderlich.com/6338-swift-tutorial-part-1-expressions-variables-and-constants
- https://www.swiftbysundell.com/articles/first-class-functions-in-swift/