aboutsummaryrefslogblamecommitdiff
path: root/LEARNING.md
blob: 511f28416d2e4ba5bb392b5d504c55b5fa954c8a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                       
# 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
- [ ] 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
  - 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
- [ ] 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'