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 […]
Daily archives: 3 March 2022
2 posts
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 […]