Sprint 3 is over and Kotaro has made progress on the UI with a complete app skeleton now linked together, but is still working on the core swipe animation. Meanwhile, Steve found notifications a little harder to setup in a SwiftUI environment than expected, but got the basic plumbing working when he wasn't editing the podcast. Aaron is the Sprint MVP as he updated the data managers so that Kanji can be retrieved from the database with ease and user stats saved on demand. All together, this means we are getting close to a working app! Plus, a discussion comparing Objective-C and Swift and the struggle to switch mental modes when you are learning new things.
## Sprint 3 Retrospective:
- Swipe UI not done, yet. Working on choosing library or technique
- Improved onboarding screens to initially load JSON into database
- Completed linking areas of the app together
- Added accessing methods to kanji database like next, random kanji
- Notifications wired up, but not fully implemented
- Need proper settings for schedule
- Lots of refactoring needed
- Time management in a sprint - How Kotaro approaches game jams
- Week 1: get features done
- Week 2: fine tuning/bug fixes
- Where do you put authorization check?
- SwiftUI modifiers for WindowGroup?
- How to handle implementing delegate methods in Swift UI?
- Structs vs Classes in SwiftUI
- Structs for layouts and immutable values
- Classes for data model and data state stuff in background
- Obj-C doesn’t slap you on the hand like Swift will
- Swift enforces a kind of discipline
- Toughest part is changing your mental model
- if let and guard statements
- Obj-C geared for reading and Swift geared towards writing?
- Inside a closure, has to be wrapped in a Task
- Fling a card from one watch to another using nearby interactions framework
- Core mechanics of scheduling specific notifications and handle actions (Steve)
- More Info (deep link with tap)
- Next Kanji algorithm (Aaron)
- Method on public database class to get the next kanji
- Swipe mechanic (Kotaro)
- https://github.com/1amageek/Deck
Intro music: "When I Hit the Floor", © 2021 Lorne Behrman. Used with permission of the artist.