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 […]
Yearly archives: 2022
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 […]
One key feature of today’s CodeWithChris lesson from iOS Foundations Module 5 is adding a video to the Learning App. In order to do this, we need to add the appropriate Framework to the project: We then add that to the view that will include the video: There is also […]
Today’s lesson follows Chris through setting up the main view, whilst using sub-views for duplicated code. Example: The main struct HomeView calls up the HomeViewRow twice – first to show a “Lessons” card, then to show a “Test” card. This pair of views is then called up ForEach lesson stored […]
Today’s lesson takes advantage of any talent you may have when it comes to keyboard dexterity. It consists mostly of following Chris through setting up the JSON parsing. Keeping up with his keyboard speed requires above average keyboard dexterity, and even I had to hit ‘pause’ more than once for […]