Due to the way Xcode has been altered since the tutorial video of iOS Foundation’s Module 5 from CodeWithChris, the Learning App crashes when a certain sequence is performed. Run the Learning App, Tap “Swift Test”, Select “let” as the answer, but do NOT click “Submit”, Click “Get Started” to […]
LearnNewStuff
A couple of lessons today from the CodeWithChris iOS Foundations course. Lesson 12, with help from Lesson 16 Lesson 12 sees us handle the quiz/test results, but it also requries a side-trip to lesson 16 in order to handle the Xcode 12.5+ “bug” that causes the last quiz question to […]
I’m taking a moment out of my coursework to try and get my head around Property Wrappers. When writing PHP code in the past, variables/objects were either local or global. If you used them within a function, then they were local to that function. If you wanted to use a […]
Today’s lesson (Module 5, Lesson 10, of CodeWithChris‘ iOS Foundations) deals with disabling buttons after an answer has been submitted, and changing the button colours if the answer is correct/incorrect. I have to admit, that this is the kind of coding that really appeals to me – logic. I felt […]
In lesson 9 of module 5 of the iOS Foundation course from CodeWithChris, we covered the Quiz Display view (or TestView as we’re calling it). Due to the time between the lesson being recorded and the lesson being viewed, changes were made in Xcode and iOS which results in the […]
Upon reading the challenge for Lesson 8 of Module 5 from CodeWithChris’ iOS Foundations, I had an instinctive reaction to skip it and move on with the next lesson. I’m getting so engrossed with Chris’ walkthrough of the Learning App that I don’t want to get sidetracked by what appear, […]
This latest lesson from the iOS Foundation course, module 5, from CodeWithChris details how to keep track of which button the user pressed using tag and selection, whilst also providing an easy way to drill back to the top of the navigation chain. In the ViewModel, we create a variable […]
Wow, what a lot of work to display HTML in an app! Today’s lesson covered attributed Strings (a string that has associated attributes, such as styles, HTML, etc). Apparently SwiftUI can’t do that yet, so we’re using UIKit to achieve it. Two methods are required, and the UIViewRepresentable protocol is […]