Posts

Showing posts with the label tags

*Xcode Project Entry 2* F1 Quiz - part 2

Image
Here we go! No chance to code on Christmas or Boxing Day but I'm back! I have around an hour or so to work on the next bit of the project. Last time, I got the views (including stack views), constraints and main question/answer bit of codes sorted. However, the next challenge will be communicating all of that so the questions/answers can be accessed! I'm going to try out a couple of things and when (yes, when!) that fails, look at Angela's Quizzler project for some inspiration. Start Time - 9:45 That's what I got last time in terms of the view. Yes, I will need some colour but I will do that last. Last time, I did that first and perhaps did a less than ideal version. So, cracking on with the actual code. How to do this? This is what I want - For the 'next question' to be randomly from drivers, numbers or cars array, then to choose one of these at random to be shown on the question label. Then the correct answer (the key-value pair) needs to be on o...

Angela Yu Course Part 6 (up to lesson 84)

Image
Yes - the first time not in the evening for a short while that I've been able to code. Here is my plan for the next couple of days: Complete Section 8 - Xylophone app! Make my own 'Yahtzee' app - this could take some time... Complete Section 9 - MVC for make a quiz app This will be plenty to sink my teeth into. Ok here goes! Introduction The aim is not so much about creating an app but actually using tools to get help - whether it's using the Swift documentation or other searches. There will be unfamiliar language etc. The purpose is to be more self-reliant - this is something I DEFINITELY need! When I need a certain functionality - finding out for myself. This will be key! There's no point just copying and pasting someone else's code without understanding it; it's much better to find things out and then apply them. Anyway, here goes! Using Tags Linking all of the buttons to one action....interesting! So they all trigger the same action. Usin...