Category: SwiftSlowly

Swift Slowly: Day 32 & 33 - Hacking Swift 17 & 18

Power was out for two days and the this was one of the first things that I did1! It felt great to get back into the swing of things. I also took the quiz that is associated with the application and scored 12 out of 12!

Tomorrow is Challenge day for this project, so I’m going to use the time that I have tonight to go over some of the previous days and to check out Paul Hudson’s video on 5 Steps to Better SwiftUI Views.


  1. After playing Dead Cells for an hour. ↩︎

Categories:

Swift Slowly: Day 31 - Hacking Swift 16

Day 16! Starting the first project after a long day of work. Part of me wants to just veg, but I’ve wanted this too long!

100 Days of SwiftUI – Day 16 – Hacking with Swift:

Today is the project overview day, which is where we’ll be looking at the isolated pieces of code that you need to understand in order to build our project. Tomorrow we’ll move on to the implementation day, where you’ll put those new techniques into practice with our app.
Xcode main window

My mind was kind of blown when I saw the line following line:

Var body: some View 

The tutorial says that it’s a computed property and I never thought twice about it or what it really meant until this point. I felt that way throughout the entire day when working with this tutorial.

I almost didn’t stop, but I know that it’s a marathon and not a sprint.

Categories:

Swift Slowly: Day 30 - Hacking Swift 15

I’m posting this for hacking with swift 14 & 15.

Tomorrow, I start the first project and I’m very excited!

Wish me luck!

Categories:

Swift Slowly: Day 29 - Hacking Swift 13

Review day!! I’m using this time to go over the basic types again.

Categories:

Swift Slowly: Day 28 - Hacking Swift 12

The neighbors were up arguing from 3-5 in the morning and it woke the whole family up. I’m having trouble focusing, but I wanted to get started with learning about optionals today.

This is the last section of 100 days of SwifUI that contains quizzes so I’m pretty excited about what happens after this.

I want to praise CodeRunner again for its excellent tool tips when code is incorrect.

Error in code runner.

Xcode also does a good job of keeping it compact and then letting you expand the dialog and allowing you to fix it by clicking one of the buttons.

Error in Xcode.

Categories:

Swift Slowly: Day 27 - Hacking Swift 11

I’m up past midnight and thought that programming is probably the best thing to do.

So tonight/today, I’m learning about Protocols and extensions.

When it came to extensions, I think I learned just as much about the once that I got wrong as the ones that I got correct.

Three wrong answers in a row

Categories:

Swift Slowly: Day 27 - Hacking Swift 10

Score card for class. Today is really cool because not only am I celebrating the inauguration of Joe Biden, but I’m on day 10 of Hacking with Swift!

Pretty proud of myself for the most part because most of my errors where me not reading the question correctly.

Categories:

Swift Slowly: Day 26 - Hacking Swift 9

We continue with structs today and I think I’m getting it for the most part. The issues that I run into are ones where I don’t pay attention to property names.

Wrong property name.

This session wasn’t as long as others, but I feel that I needed that after going through closures.

Categories:

Swift Slowly: Day 25 - Hacking Swift 8

Today, is an exploration of structs. A lot of Swift seems to be built using structs. I wasn’t 100% awake when I was doing the computed properties section.

I tried mixing property observers and computed properties, and that does not seem to work.

You cannot compute and observe values at the same time

I understand it as the value cannot be both observed and computed at the same time.

I still enjoy the fact that the questions keep us on our toes. This means that basic things can still trip you up if you attempt to rush through them.

I do wish that I had 100 out of a 100, but I want to be honest with myself.

Update: I used the wrong screenshot and had to remove the second image.

Categories:

Swift Slowly: Day 24- Hacking Swift 7

Closures part 2!

Paul Hudson says that this is where closures start to look a little bit like line noise and it can be hard to follow functions that use closures as parameters. Needless to say, I’m happy that I started this section early in the day.

Text that shows when you get an answer correct.

Categories:

An IndieWeb Webring 🕸💍