...And goodbye to some old ones
So long to "Touch Events": A chapter on Touch Events has been included since the 1st edition. Ultimately, higher-level APIs exist today such that the need to dive down to the low-level touch APIs is rare. We felt that dropping this chapter would give us room to discuss more relevant topics elsewhere in the book.
Farewell to "Gesture Recognizers": A chapter on gesture recognizers has been in the book for some time as well. We felt that this chapter dug a little deeper into gesture recognizers than is often needed for app development. We've thus dropped this chapter and moved discussions on gesture recognizers into other chapters.
Other changes
While there are too many small changes, tweaks, and improvements to keep track of, here are some highlights worth mentioning.
- Updated for iOS 13, Xcode 11, and Swift 5.2
- Added coverage of the Codable APIs, including handling some common custom JSON decoded situations
- Moved from our custom Result types to Swift's generic Result type
- Re-added discussion and use of NotificationCenter
- Moved presenting modal view controller discussions into their own new chapter
- Reworked the animations chapter for the new UIPropertyAnimator APIs
And finally, our wonderful editor Liz Holiday has massaged the entire book. In the process, she has improved clarity, addressed errata, and added an amazing level of polish to the entire book.