You Deserve Nice Things
summary
Argues that small, well-scoped extensions change code: containsString added in iOS 8 is cited as a useful retrofit; shows concrete helpers like a pairs sequence built from zip+dropFirst, a typed .sum and .average lifted into Swift 3, a countWhere that avoids allocating an intermediate array, and a reverse that yields a ReverseRandomAccessCollection instead of copying. Demonstrates operator overload for Int×CGFloat, a gestureRecognizer.cancel implemented by toggling isEnabled, and notes a personal gist library that saw little adoption.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:11Extension in Swift
- 3:36Swift to Code
- 10:14Adding Custom Operators
- 12:01The None Function
- 14:01Hidden Optimization
- 16:06Reverse Random Access Collection
- 20:40Property Accessor
- 23:04Ui View Controller
- 25:57Objective Shorthand








