aboutsummaryrefslogtreecommitdiff
path: root/foray.xcodeproj (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-19Merge ForayNewDetailView into the VC itselfNicholas Tay1-4/+0
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.
2022-03-19Storyboard is GONENicholas Tay1-31/+4
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
2022-03-19Detail view is now programatically createdNicholas Tay1-0/+4
Using SnapKit and some experimentation around the VC. Next step is to change segue and then maybe get rid of storyboard all together.
2022-03-18Split table view cell into separate fileNicholas Tay1-0/+4
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.
2022-03-18Added SnapKit with Swift package managerNicholas Tay2-0/+41
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/
2022-03-16Add gitignore, remove new ignoresNicholas Tay1-14/+0
Luckily it was only one file
2022-03-16Add a detail viewNicholas Tay1-0/+4
Resources: - https://guides.codepath.com/ios/Using-UITableView (was a bit dated)
2022-03-14Learning UITableViewController: array data + custom cellsNicholas Tay1-4/+6
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/