Simple iOS App - done as training task from Apple Education Lab for learning purposes in 2020 May
The objective of this lab is to implement Intermediate Table View features into an App that keeps track of user's favorite Books.
-
Replace existing regular View Controller with a Static Table View”
-
Create a custom table view cell to display the details of each Book in the main list.
-
Add the capability to delete Books from the main list.
There are two table views used for that app:
- The first Table View is a Prototype Table View and initially is an empty table, where User can start adding an information about his favorite Books.
After User has pressed Add button, next will be initialized second Table View.
- The second Table View is a Static Table View, where each text field is in its own cell and each cell is in its own section. There are five sections. First four enables User to add such information as:
- Book Title
- Author
- Genre
- Length
And the last, but not least, section is for the Save button.
- After information about Book is added and Save button was pressed, App will come back to the first screen. Here again will be provided a list containing all saved Books with included recently saved Book:
This list enables User to see all added Books, also select and edit each Book by tapping on it's row. For sure, is still possible to add next new Book by pressing Add button in top-right screen corner.
- Delete existing Book function could be enabled by sweaping selected Book's row from the right to the left as same common way as for other wellknown iOS Apps:
“App Development with Swift”. Apple Inc. - Education, 2019. Apple Books. pages: 654-656 https://books.apple.com/us/book/app-development-with-swift/id1465002990