Having completed Module 6 of the iOS Foundations course from CodeWithChris, the iOS Foundations course concludes with a couple of bonus modules. The first one includes a handful of videos explaining the process of how to prepare an app for Apple’s App Store. This requires being signed up to the […]
iOS Foundations – Module 6
It’s been 14 days since I started the CodeWithChris iOS Foundations Module 6 course and, today, after many ups and downs, bug-hunting, and suffering the struggle of running the Xcode behemoth on a silver-haired little Mac mini, I’ve finally reached the finish line of the app. We’ve covered an awful […]
Lesson 13 of Module 6 from the iOS Foundations course of CodeWithChris covers the set-up of the onboarding screens, and also adds the “Location Denied” view for when the user denies location access to the app. The Little Bug … ah! After yesterday’s incomprehensible error message that required extensive debugging, […]
I’m old enough to recall the days when debugging a program meant deciphering an error message that looked something like this: Not very helpful. Zoom forwards 40 years to the “it just works” philosophy of Apple, and Xcode kindly displays an error message that reads thus: As the famous fictional […]
In this lesson, we moved the business title into a reusable view. Our new BusinessTitle SwiftUI view is this: The bulk of the above was in our BusinessDetail view, but has now been replaced by this: This can be used elsewhere we need the business title. In the lesson, we […]
Having assigned the annotations last time around, this time we use them to react to the user tapping on them. In Lesson 11 of Module 6 from the CodeWithChris iOS Foundations course, we react to the user tapping on the annotation to display details of the business in question. This […]
I’ve seen a little about “delegates” when viewing code before, but it didn’t make sense. Lesson 10 of Module 6 from CodeWithChris takes us into UIKit, which is required for the MapView elements. I had to keep rewinding Chris’ video tutorial, but I don’t think much of it sank in […]
In this lesson, we learned to use the MapView, from UIKit, to show the business landmarks (from the Yelp! data) on the map. The key components of the code to do this are as follows: Method makeUIView is required to ensure the struct conforms to the UIViewRepresentable protocol. It effectively […]