| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Was thinking of using CocoaPods as that's what is in use, but either way
looked decently straightforward. Decided to start with whatever was
already built in and no extra software.
Note: it was File > Add Packages > put git link in top right. References
I saw seemed to say File > Swift Packages and I couldn't find it. Also
some other docs had older screenshots, I presume it's pre-Xcode-13 being
slightly different.
References:
- https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app
- https://www.raywenderlich.com/7242045-swift-package-manager-for-ios
- https://snapkit.io/docs/
|
| |
|
| |
|
|
|
|
| |
Luckily it was only one file
|
|
|
|
| |
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/
|
|
|