*BONUS ENTRY* SwiftUI Mini Project - Part 2
So no need to make excuses - it's been a pretty mental time! Lots of positives but not going into detail now. The thing with coding is that I am continually frustrated with my lack of probes and the fact that I can't put in as much as time as I'd ideally like. At some point I need to do a review and set some goals. This always seems to come around but like I said, can't be helped.
Last time it was a mini project, putting into practice some bits of SwiftUI. I am going to do one more session, trying out some more about properties, or other types of options to use with SwiftUI. Then I will be resuming with Ray's websites, checking out some of the new content added there. Having paid for the whole year, there's less pressure to make the most of the content each month. However, that doesn't mean I shouldn't be using it at all - like a gym membership mentality! I'm on the train while doing this by the way and will aim for approx an hour. Let's go!
Start Time - 09:09
OK, let's look at where we got to before - getting another window of my blog up...
We managed to get a toggle view that looked like this -

It looked cool! Of course I could play around with some properties some more. Let's refresh things by trying out changes to font, colours, size etc....
While that's loading let's look at what else we realistically want to achieve.
-An option to click on each driver and pull up some information.
Delays for approx 5 minutes.
OK, cool! I've played around with some properties including making the font bigger.
I'm not even going to try to understand the proxy stuff! That's something to come back to when I have a deeper understanding. The rest of it seems OK. So that last bit is to be able to click on each item. Let's see what Laurie did before.....
Before that I have reindented the code (control and I). Ctrl + i.
Cool! I have gotten the driver details bits, which brings up the name, image then key info under. I've only got championships and wins at the moment. So am adding in races, poles, fastest laps...
Right! So we're pretty much done! I've borrowed a lot of code from Laurie to get the idea of having various different structs etc. I have to stop in a moment, which is fine as I've had a great play around with the code. I won't pretend I understand it all, so I think I will need one entry to carefully analyse each step and what it all means. This will do for now!

So each time a driver is clicked, this comes up! Awesome stuff and mission successful! Also, one more entry to sort out some formatting etc.
Finish time - 10:17
Last time it was a mini project, putting into practice some bits of SwiftUI. I am going to do one more session, trying out some more about properties, or other types of options to use with SwiftUI. Then I will be resuming with Ray's websites, checking out some of the new content added there. Having paid for the whole year, there's less pressure to make the most of the content each month. However, that doesn't mean I shouldn't be using it at all - like a gym membership mentality! I'm on the train while doing this by the way and will aim for approx an hour. Let's go!
Start Time - 09:09
OK, let's look at where we got to before - getting another window of my blog up...
We managed to get a toggle view that looked like this -

It looked cool! Of course I could play around with some properties some more. Let's refresh things by trying out changes to font, colours, size etc....
While that's loading let's look at what else we realistically want to achieve.
-An option to click on each driver and pull up some information.
Delays for approx 5 minutes.
OK, cool! I've played around with some properties including making the font bigger.
I'm not even going to try to understand the proxy stuff! That's something to come back to when I have a deeper understanding. The rest of it seems OK. So that last bit is to be able to click on each item. Let's see what Laurie did before.....
Before that I have reindented the code (control and I). Ctrl + i.
Cool! I have gotten the driver details bits, which brings up the name, image then key info under. I've only got championships and wins at the moment. So am adding in races, poles, fastest laps...
Right! So we're pretty much done! I've borrowed a lot of code from Laurie to get the idea of having various different structs etc. I have to stop in a moment, which is fine as I've had a great play around with the code. I won't pretend I understand it all, so I think I will need one entry to carefully analyse each step and what it all means. This will do for now!

So each time a driver is clicked, this comes up! Awesome stuff and mission successful! Also, one more entry to sort out some formatting etc.
Finish time - 10:17
Comments
Post a Comment