👉 Source code is at my GitHub repo
Building iOS app (Swift) is a totally different experience from web development (JS). The most challenging part for me is the complicated and confusing class inheritance. This week's assignment of building app with TableView provides a great opportunity to get more familiar of the relationships between classes. Still get tons of questions though.
I intended to build a more complex interface, but get stuck by lots of problems along the way. During the development process, I focus on building a most viable product with only text fields and pickers as data source to send from modal view to table view.
After the basic functions were built, I tried to figure out how to store/fetch image using
FileManager and swipe gesture on table cells.
exitv.s. IBAction to dismiss current scene
instantiateViewControllerand board flow connection?
footer? Or additional footer instead?
textFieldShouldReturnnot working, had to use
ViewControllerclass to make it work in my code. Why doesn't example code need one?
Codable protocolis a "type alias that convert itself into and out of an external representation."
didSaveElementdeclaration location (it's a closure). Taking
ActionViewController, closure of the array data.