aboutsummaryrefslogblamecommitdiff
path: root/LEARNING.md
blob: d106f2db6adf2e1b76aaca3e0a395e3b498ba947 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                   
                                                                              


                                                                                                                       
                                   



                                                                                                           
                                 



                                                                                                        
# Learning Tasks

- [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
- [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)`
- [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
- [ ] The 'coordinator pattern'