Posts

Showing posts from December, 2019

*BONUS ENTRY* SwiftUI Mini Project - Part 3 (final)

Image
Christmas Day coding! Merry Christmas one and all! I may do several shorter entries today - whenever there is a good time to have a little session basically. First of all, I am going to tweak and refine the mini project. Also, I want to do a detailed breakdown of each aspect, each line of code. I need to understand that in more detail so I can understand and apply the skills. OK, let's go! Start Time - 13:14 So, first of all, let's see what is needed to 'finish' this project... *Paused for 15 minutes - updating all drivers' stats! OK, so it's not easy just to add in a text box towards the top. I'll leave that for now! The ONLY real thing to add in is to space out the text for when the driver stats come up. Cool! Putting it within a List is the way to go. That's cool, looks MUCH better! Spacing in between the items...harder to do than you think. The custom spacer bit works but then has an error for the final item. So I will instead put some ...

*BONUS ENTRY* SwiftUI Mini Project - Part 2

Image
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! ...

*BONUS ENTRY* SwiftUI Mini Project - Part 1

Image
A whole week! Not good! I have my reasons - busy weekend and another inspection...plus the run up to the end of term...along with other things. So first chance to code in a while! Today, I am going to spend around an hour just trying out SwiftUI with a very simple mini-project - F1 driver facts. This is not to try making an app to sell or anything long term. Just something that is functional and lets me try out some SwiftUI features.  Start Time - 19:12 First of all, I need to map out the purpose of the project and what I need - what features of SwiftUI. Purpose - to find out about F1 drivers. Features : Pictures of drivers (standard size) Toggle view to swipe between them Information about the drivers - championships, races, wins, mini bio OK what is needed for this simple project? Class of driver so all the info is contained together Pictures (need to get all portrait) Info (can look up) Toggle view and a H Stack of these. Loop (for each) How to do this? We...