Categories
Programming

CS193p Spring 2021 Lecture 4 & Assignment 2

After lecture 4 A lot of this stuff still isn’t making a ton of sense to me. I really struggled with how to init the theme for assignment 2. The key was optionals. How to do it came to me in the shower. I am writing this post after doing the changes from Lecture 4, […]

Categories
Programming

Learning Swift – CS193p Spring 2021 Lecture 3

After lecture 3 So lecture 3 really pointed out to me where/why I had trouble learning Swift the first time around. The shortened closures and the whole “if this is the last argument for the function call, drop it” thing don’t make it easy for people new to the language. Words/phrases that came to mind […]

Categories
Programming

Learning Swift – Confusion on Conciseness

Is Swift too concise for beginners? This is not the first time I’ve tried to learn Swift. The first go took place maybe October/November 2020. I followed the official Apple Landmarks tutorial (called Creating and Combining Views) and things just did not click. I looked elsewhere for tutorials as well. My wife and I also […]

Categories
Programming

Learning Swift – CS193p Spring 2021 Assignment 1

Coming from Learning Swift (the programming language), I have completed Assignment 1 (including extra credit #1, but not #2). Most of the tasks were relatively straight-forward. I did not do any of the reading. The last post had a fully functional game working as described in lectures 1 & 2. This assignment built from that. […]