From e37397519e44f546adf550ab4c11e39eeefe252d Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Sat, 19 Mar 2022 13:59:56 +1100 Subject: Update learning goals --- LEARNING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LEARNING.md b/LEARNING.md index 511f284..d106f2d 100644 --- a/LEARNING.md +++ b/LEARNING.md @@ -3,15 +3,16 @@ - [x] Create a basic project with UITableView, following an example - [x] Create a table view with 2 different cell types - [x] Read in some API and use it to populate the table view -- [ ] Split table cells to another file (instead of building it in storyboard) +- [x] Split table cells to another file (instead of building it in storyboard) - Do this in tandem with SnapKit task below - Register table cells to the table view - Look into `tableView.register(FeedbackToggleCell.self, forCellReuseIdentifier: FeedbackToggleCell.reuseIdentifier)` -- [ ] SnapKit for cell layout stuff +- [x] SnapKit for cell layout stuff - Use a swift package manager to add it in - Check out FeedbackHeadingViewCell - Basically for constraints like `make.top.equalToSuperview().inset(8)` - Test this out with accessibility options to see how reflow - image and labels may fight with each other +- [x] Rip out Storyboard entirely - [ ] Extract network requests into own class - Make network class generic - See https://stackoverflow.com/questions/65576832/how-can-i-make-my-networking-class-generic-in-swift -- cgit