aboutsummaryrefslogtreecommitdiff
path: root/foray/ForayDetailViewController.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reorganise into folder groupsNicholas Tay2022-03-241-29/+0
| | | | | In preparation for presenters to come in largely, lots of files starting to go everywhere...
* Split details view into separate View and VCNicholas Tay2022-03-241-72/+6
| | | | | Also fixed the scrollview margins while I was at it - it looked weird being so inside
* Fix scroll in details viewNicholas Tay2022-03-211-0/+1
| | | | | | Didn't constrain details label to the bottom of the content container, so scroll view didn't pick up on it (test with large font on a smaller viewport phone).
* First try at implementing coordinator patternNicholas Tay2022-03-211-19/+7
| | | | | Resources: - https://www.hackingwithswift.com/articles/71/how-to-use-the-coordinator-pattern-in-ios-apps
* Add ScrollView to details screenNicholas Tay2022-03-201-4/+14
| | | | | | Would make more sense as more lines get added in (especially if ui elements programatically), as well as since horizontal layout is allowed if the screen is small you can scroll
* Merge ForayNewDetailView into the VC itselfNicholas Tay2022-03-191-5/+71
| | | | | | | | Not sure if this is the right move, but it felt extraneous to have a whole UIView to itself for now. Instead just have it right inside the VC. Probably a step in the wrong direction though, but will need to review.
* Fix selected item not being passed throughNicholas Tay2022-03-191-3/+4
|
* Storyboard is GONENicholas Tay2022-03-191-0/+1
| | | | | | | | | 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
* Detail view is now programatically createdNicholas Tay2022-03-191-20/+8
| | | | | Using SnapKit and some experimentation around the VC. Next step is to change segue and then maybe get rid of storyboard all together.
* MyItem -> PenguinItemNicholas Tay2022-03-161-1/+1
| | | | | | 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).
* Modify details to multiline with release date includedNicholas Tay2022-03-161-3/+10
|
* Add a detail viewNicholas Tay2022-03-161-0/+33
Resources: - https://guides.codepath.com/ios/Using-UITableView (was a bit dated)