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 […]
iOS Foundations – Module 5
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 […]
The introduction to iOS Foundations Module 5 from CodeWithChris details the new LearningApp that we’ll be creating. It looks initially similar to the previous RecipeApp with the addition of new navigation screens and user feedback/responses. The section I’m most excited about is retrieving data from remote sources – something I’ve […]