Swift
Init
Errors
Protocols
- 2022.06 Beginner’s guide to modern generic programming in Swift
- 2021.12 The Surprising Cost of Protocol Conformances in Swift about limiting the use of
as?
- 2019.04 👍 Protocols I: “Start With a Protocol,” He Said
- 2018.10 Specializing protocols in Swift
- 2017.04 Using protocol compositon for dependency injection
- 2017.04 Swift Protocols with Default Implementations as UI Mixins
- 2017.03 Overriding Swift Protocol Extension Default Implementations
Value Types
- 2021.08 The Case Against Immutable Objects in Swift
- 2019.01 👍 Encapsulating Domain Data, Logic and Business Rules With Value Types in Swift
- 2019.01 Reference vs. Value Types in Swift
- 2018.08 Value-Oriented Programming
Enums
Structs
- 2018.05 Stop Using Structs!
Optionals
- 2018.04 Optional Emptiness
- 2017.10 A nil-coalescing alternative for Swift
- 2017.09 The Strange Case Of Mapping Over Optionals
- 2017.01 Pretty much every way to assign optionals
- 2015.12 Dealing with Optionals in ViewControllers
Collections
- 2019.09 Picking the right data structure in Swift (also refers to a nice article about Time Complexity / Big O notation etc)
- 2017.01 Optimizing Swift Collections 20’ video + repo
- Almost Everything You Wanted To Know About Sequence and Collection
Result Type
- 2019.11 Swift 5’s Result Type 16’ video, nice explanation of
flatMap
onResult
Type Erasure
- 2020.05 Understanding type erasure in Swift
- 2019.11 OkCupid Presents: How To Use Type Erasure For Better Model Abstractions
- 2019.03 Different flavors of type erasure in Swift
Property Wrappers
- 2020.01 Property wrappers in Swift good intro from Sundell