| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
In preparation for presenters to come in largely, lots of files starting
to go everywhere...
|
|
|
|
|
| |
Was a bit awkward to have it as a Date normalised to first day of the
year
|
|
|
|
|
|
|
| |
Just an idea I had, since it was quite messy that a TableViewController
was handling all that. Instead now it should be reusable through the
ForayCoordinator itself, which means e.g. on details screen, we can show
the loading overlay.
|
|
|
|
|
| |
Resources:
- https://www.hackingwithswift.com/articles/71/how-to-use-the-coordinator-pattern-in-ios-apps
|
|
|
|
|
|
| |
It isn't much so far, as it is just effectively the API retrieval
function extracted from the TableViewController. But this should also
allow other VCs to get from API too if required :^)
|
|
|
|
| |
Missed in when ripping out storyboard
|
| |
|
|
|
|
|
|
|
|
|
| |
Note - I had to fo into the Target settings -> Info -> Custom iOS Target
Properties -> adjust the Application Scene Manifest there.
Resources:
- https://ioscoachfrank.com/remove-main-storyboard.html
- https://stackoverflow.com/questions/25167458/changing-navigation-title-programmatically
|
| |
|
|
|
|
|
|
| |
This took a bit to figure out due to the identifier stuff, but we got
there. I'd like to figure out how to push a VC into the navigation
controller though, rather than relying on storyboard segues.
|
| |
|
|
|
|
|
|
|
|
| |
I don't think this 100% is the correct way with SnapKit. Need to seek
advice and improve the constraints. However, an improvement over before
is that the accessibility font sizes actually do work as intended now!
Now to add back in the segues somehow...
|
|
|
|
|
|
|
|
|
| |
Cell no longer uses prototypes as registered in the Storyboard. Instead
is a custom class inheriting the UITableViewCell and is manually
registered by the VC.
This is a first step towards reimplementing the prototype cells. Only
has one label at the moment.
|
|
|
|
| |
Remembered I actually had a public server for me to dump files on lol
|
| |
|
|
|
|
|
|
| |
Makes it clear which parts are tightly coupled. I want to learn how to
make this more generic so I can try hooking into other APIs easily
(which make require different destructuring of JSON).
|
|
|
|
|
|
|
|
|
| |
It might be my web server causing the weird caching with headers (it's
just a json file on nginx). Changing the policy in the request seems to
have fixed it though.
Refresh control references:
- https://stackoverflow.com/questions/24475792/how-to-use-pull-to-refresh-in-swift
|
|
|
|
|
|
|
|
| |
I'm not 100% sure if this is the best way to do it, but it looks decent
and it works.
Resources:
- https://stackoverflow.com/questions/27960556/loading-an-overlay-when-running-long-tasks-in-ios
|
|
|
|
|
| |
Resources:
- https://guides.codepath.com/ios/Using-UITableView (was a bit dated)
|
|
|
|
|
|
|
| |
Resources:
- https://stackoverflow.com/questions/56443859/display-in-json-api-table-view-in-swift
- https://www.avanderlee.com/swift/json-parsing-decoding/
- https://stackoverflow.com/questions/24321165/make-rest-api-call-in-swift
|
|
|
|
| |
Not sure if this is the correct way of switching into a different cell type with the prototypes, but it works. To review.
|
|
|
|
| |
https://www.ralfebert.com/ios-examples/uikit/uitableviewcontroller/grouping-sections/
|
|
Forgot to commit after finishing just the using array data bit. So committing with the custom cells done.
https://www.ralfebert.com/ios-examples/uikit/uitableviewcontroller/
|