Mastodon

Building My First iPhone App - Day 2

Posted by Matt Birchler
— 1 min read

It's been a couple days since my last foray into the world of Swift, but I came back today with a strong desire to learn more. Today I worked on manipulating arrays, creating a dictionary, and creating for and while statements.

Manipulating the array was the most fun I had in this session, because I felt like I have started to see the practical uses for all this code I've been writing. I've been manipulating a todo list, but it's all been manually in the code. I can see how these actions I am triggering could be triggered by an interaction by the user. This reminds me how I felt the first time I figured out divs in CSS; when things just clicked into place and I went, "oooooooohhhhh, that means I can do this, that, and the other thing."

Again, any programmer would look at that above screenshot and scoff, but I'm getting there. A couple more baby steps and I might be able to start making something that's a little more exciting.

Side note: Playgrounds are delightful. They give me the instant feedback that I love so much about CSS, and have never gotten from any programming language before.