Categories
SwiftUI

100 Days of SwiftUI – Day 13 – Consolidation Day 1

Today’s recap made me feel smart – I like that feeling. Not the highest bar as this was reviewing some coding fundamentals and not a lot of deep Swift knowledge, but it does confirm that I’ve learned a few things over the last couple of weeks. References Day 13 – https://www.hackingwithswift.com/100/swiftui/13

Categories
SwiftUI

100 Days of SwiftUI – Day 12 – Optionals

Another head-spinning day. In isolation, everything makes sense but there was a lot of content today – though it’s a bit hard to say that 9 minutes of video is a lot – and some confusing terminology to keep me guessing. For example, force unwrapping, nil coalescing and failable initialisers to name three. I anticipate that I’ll be […]

Categories
SwiftUI

SwiftUI Day 11 of 100 – Protocols and extensions

Protocols are quite new to me but immediately made sense. After taking a few days off from the course, my brain felt strangely fresh and responsive to new information. Like some of the other recent topics, I’m looking forward to seeing how these work out in practice, but there were some simple but interesting examples […]

Categories
SwiftUI

SwiftUI Day 10 of 100 – Classes

Classes and structs are different, but confusingly similar. With context and practical examples, I’m sure I’ll see more of a difference, but at this point, I’m not entirely sure when I’d use one vs the other. I’m still very much itching for practical uses of this stuff – I’m getting pretty tired of writing code like […]

Categories
SwiftUI

SwiftUI Day 9 of 100 – Structs (part 2)

I have to admit that this session was tough to get motivated for – did it more because I felt that I should continue making headway rather than because I wanted to. Some important material in there – some new, some review. Hoping that the upcoming consolidation days will help cement some of my newfound knowledge. It’s […]

Categories
SwiftUI

SwiftUI Day 8 of 100 – Structs (part 1)

With closures in the rear view mirror, it was time for something different today – structs. Definitely more straightforward than closures, but a tired brain still tripped me up on the post-lesson questions. Definitely more wrong answers tonight than any previous night – got caught up multiple times on let vs var. Sure would be helpful to […]

Categories
SwiftUI

SwiftUI Day 7 of 100 – Closures (part 2)

I don’t know what else to say. My head is spinning. I get this closure stuff in principle but I really need to see it in practice to figure out how it actually works. References Day 7 – https://www.hackingwithswift.com/100/swiftui/7 Closures summary – https://www.hackingwithswift.com/sixty/6/12/closures-summary

Categories
SwiftUI

SwiftUI Day 6 of 100 – Closures (part 1)

Today started with a warning that closures could be a bit confusing and are something that a lot of people find hard to understand. Probably an apt warning. The examples shown are easy enough to follow in isolation, but didn’t come with an explanation of why they exist or how they’re best used in Swift […]

Categories
SwiftUI

Why 100 Days of SwiftUI?

I’m writing this after my fifth day of progress in the 100 Days of SwiftUI online course offered by Paul Hudson. But why – why am I doing this and why now?

Categories
SwiftUI

SwiftUI Day 5 of 100 – Functions, parameters and errors

So many kinds of functions. Oh, the possibilities. A staple in any language, Swift doesn’t disappoint. All of the standard stuff that I’d expect with a few things that I didn’t, like variatic functions and inout. Concepts are familiar but the terminology is new to me. Good stuff overall. References Day 5 – https://www.hackingwithswift.com/100/swiftui/5 Summary […]