This was all following https://bignerdranch.com/books/ios-programming-the-big-nerd-ranch-guide-7th-edition/