Day 16‘s lesson is Day 1 of 3 of the first iOS project named Project 1.
Yesterday after I completed the objectives for Day 16 I didn’t feel like I understood the entire lesson. Today I decided to repeat Day 16’s lesson. To make sure that I started with a fresh project file the first thing I did was delete the Project1 xCode project file that I created yesterday
Day 16’s lesson is named Project 1, part one and it consists of three sections that cover: Setting up, Listing images with FileManager, and Designing our interface.
Thoughts about Day 16 (repeated)
On this second working of Day 16’s lesson I set aside a two-hour block of dedicated study time. The study time was broken apart into focused study blocks of 30 minutes each that I tracked by listening to a binaural beats YouTube video called 30 Minutes of Focused Studying: The Best Binaural Beats through earphones. A 10 minute break followed each focused study time block.
After working through Day 16’s lesson a second time I ended the lesson with a much better and more thorough understanding of the lesson’s objectives.
Study Notes
- Setting up
- created the Project1 project.
- launched an iPhone XR simulator.
- downloaded from GitHub the picture files needed for the Project1 project.
- copied the picture files to Project1.
- learned how to run, stop, and restart iOS apps on the simulator.
- Listing images with FileManager
- Objective: List all files in the app’s directory and pull out the ones that start with “nssl”. Load that list and print the list to xCode’s built-in log viewer.
- Designing our interface
- replaced the default ViewController with TableViewController using xCode’s Interface Builder.
- placed a TableViewController inside a Navigation Controller.
- added a method to display table cell rows.
- added a method to display the names of each picture’s filename in its own TableViewController cell.
Today’s study time*: 1 hour 30 minutes
100 Days of Swift cumulative study time: 47 hours 20 minutes
[*Note: those are actual study time values after subtracting break-time minutes from the Day’s study session]