Swift Slowly: Day 13

Yesterday, I stopped so that I could spend time with my family. I’m going to pick up from the draw an arc spot.

Read More →


Swift Slowly: Day 12

Today’s tutorial is about drawing. I’m almost done going through the entire tutorial and wondering what I should look at next.

Read More →


Swift Slowly: Day 11

Continuing with learning about persistence tutorial

<img alt srcset=​"https:​/​/​docs-assets.developer.apple.com/​published/​8b6dcf46ffef24b1ac64555436587521/​600/​SUI_100-003.png 1x, https:​/​/​docs-assets.developer.apple.com/​published/​0f0b16a34e0c11fdc102fb25bb806d15/​600/​SUI_100-003@2x.png 2x" src=​"https:​/​/​docs-assets.developer.apple.com/​published/​8b6dcf46ffef24b1ac64555436587521/​600/​SUI_100-003.png" width=​"362" height=​"auto">​

Read More →


Swift Slowly: Day 10

Today’s tutorial is about persistence. I think that’s a good one as I make my way through these various tutorials.

Read More →


Swift Slowly: Day 9

Getting back into the swing of things and I’m continuing with the tutorial. Today is about State Management.

Read More →


Swift Slowly: Day 8

I’m continuing with the Managing State and Life Cycle section of the Apple SwiftUI Tutorial.

Section 4: Add a State Object

Purpose: Learn about State Object

This sections was pretty small and introduced the concept of “Source of Truth”.

Image of code with source of truth

At this point, I got a little side track with trying to get an understanding of how it all comes together and getting the above picture.

Section 6: Extract the Meeting Footer

I’m not a fan on the syntax for closures and views. Defining a closure in the view means that I have to specify it when I call the view doesn’t make since to me.

Error when using a view without specifying something

I guess it’s part of the language. You can’t have a view that has values that aren’t defined.

Section 7: Trigger Sound with AVFoundation

Purpose: Lear about audio feed back

Right away, I liked this part of the tutorial because it starts showing me how to use different resources.


Swift Slowly: Day 7

Today marks the 7th day that I’ve committed to blogging about my development. This continues the walk through with Apple’s updated SwiftUI tutorial.

As of December 22nd, 2020.

Read More →


Swift Slowly: Day 6

As this is Day 6 of my self directed move to learning swift, I’m thinking about how this series of tutorials is only supposed to take 3-4 hours. I think that might be if you just copy past the code or maybe to get people started without worrying that this is going to take all day.

Read More →


Swift Slowly: Day 5

On day 5 of the tutorial and I think I’m growing more comfortable with the keyboard shortcuts.

Style definitions

I’m hoping that future versions of Xcode will have more information in the quicklook for different classes. At the minimum, they could offer a link to get more information or have example of the different styles on one page.

Accessibility

I still enjoy the promotion of accessibility at the very beginning of someone’s journey to be a better programmer. There is also a littleAccessibility step for VoiceOver

Error handling

Error messages in Xcode

When you’re learning, it can be stressful to see errors and warnings. At this point, I don’t know if it’s just a typo or because I haven’t finished all the lines that I’m supposed to be typing.

Ultimately, I had to do a diff using BBEdit to figure out where the difference was between what I wrote and what was expected. Maybe I shouldn’t code at the end of the day?


Swift Slowly: Day 4

Today’s tutorial was pretty good. I did run into a small problem with specifying the destination view.

Specifying destination

I think it’s pretty cool that I’m recognizing some of the closures in swift.