It’s the little things that make me wonder about the new version of the OS.
It’s the little things that make me wonder about the new version of the OS.
I was craving this and forgot to take the picture before eating it.
I’m pretty happy that this review day landed on a Sunday. It lets me go over my previous posts and to enjoy the Superb Owl.
That’s where I want you to reach with SwiftUI – to know that when you have a new project idea you can reach for part of project 1, part of project 3, part of project 4, and beyond, and already be 75% towards your goal. You’ll get there – just keep coming back each day!
I’ve decided to change the default title for these posts to reflect what resource that I’m working on and make sure that all post related to my journey with Swift are in the “SwiftSlowly” Category.
Today’s activity is about CoreML and I can already tell that it’s going to be something that I’m going to have to review a little more.
Today we’re going to build our project, combining both SwiftUI and Core ML in remarkably few lines of code – I think you’ll be impressed.
The source material is amazing!
I’m looking at the things that haven’t kept up with when the original material was created as an opportunity to get do my own research. For example, changing the call to the CoreML model.
Luckily, I found a post about using duckduckgo and found a solution.
For extra cool points, I’m excited that I can still follow along with the understanding of what changed as far as the method call. My understanding is that the method calls to CoreML have changed. I don’t have the why at this point.
I’m also hoping that I’ll learn a better way of handling errors other than printing to the console, but that can be added to my technical debt pile.
I pick these up sometimes.
Upgraded to Big Sur today.
I hope that I don’t regret it.
I’ve finished a quarter of the program! I’m pretty proud of myself for doing that. With everything going on it was good to have a nice project like this to work on.
That being said, I was very happy to see the following quote.
However, I want to say that if at any point you’re feeling tired, or if life just gets in the way, take a break! If you come back to your code in a day or two, you’ll be more relaxed and ready to learn. Like I said at the beginning, this is a marathon not a sprint, and you won’t learn effectively if you’re stressed.
I’m very tempted to take today off, but I’m also just as pumped to play around with the material before WandaVision comes on tonight.
Today is a consolidation and challenge day! I’m a quarter of the way through this and I’m pretty excited and grateful to have made it this far. With that comes a little more stress as I’m venturing out on my own to do small challenges along the way.
Which brings me to the challenge!
Challenge
You have a basic understanding of arrays, state, views, images, text, and more, so let’s put them together: your challenge is to make a brain training game that challenges players to win or lose at rock, paper, scissors.
The first thing I did was take some time to sketch out what I want the application to look like.
It really didn’t take that long to get something on screen.
I’m taking a lot of the lessons and code from the Guess the flag game that I created earlier in order to move forward with this. I was fun to put the application together and I even spent some time doing some customization.
What took me the most time, was actually coming up with the logic to the game. Apparently, working on something complex after many days of not getting enough sleep can wear you down. Luckily, there is pen and paper and the ability to forgive myself and move on.
I’m just happy to be done!
Made a short video of my dog in a dress.