Lesson 4 from Module 2 of the CodeWithChris Design Course takes us into the world of the Grid or, more specifically, the Lazy Grid. These come in two varieties – the LazyVGrid() and the LazyHGrid(). The “lazy” part of the element simply means that, where the content falls “off-screen”, it […]
Monthly archives: March 2022
A common design convention in apps is the use of “cards” – those layouts that slide on the screen, looking almost three dimensional, over the top of that which it covers. We’ve used a card in an app during the iOS Foundations course from CodeWithChris, and Lesson 3 of Module […]
Following an introduction about standard Swift UI conventions (basically – don’t get too carried away!) in Lesson 1, Module 2 – SwiftUI Components and Layouts from CodeWithChris, is a 30-minute finger-racing exercise in how to create your own tab buttons. The concepts used mostly consist of elements that we’ve used […]
Module 1 of the Design Course from CodeWithChris concludes with a tutorial on including your own (custom) fonts into your app project. Given the complexity of shapes and gradients in previous lessons, I erronously thought that “Custom Fonts” meant creating your own typefaces within the app rather than including a […]
Today’s lesson in the Design Course from CodeWithChris looks at how we can create custom styles for our buttons. Once again, I enjoyed playing around with the design options for this. That’s been the delight of this Design Course for me – after the heavyweight coding tutorials of the iOS […]
It sounds like the start of a joke but, actually, it’s one of the reasons why SwiftUI is difficult to code. Take, for example, the simple wish to create a Rectangle() with an outline. In SwiftUI, you use the .stroke modifier, thus: Great, huh? A nice outline around your Rectangle(). […]
You know a lesson is going to go well when it begins with Chris setting up an element and preceding his actions with the phrase “as you know”, only we don’t know any such thing. In this case, the lesson deals with styling “text fields”. Nowhere in the iOS Foundations […]
Lesson 4 introduces us to ways of creating complex designs that incorporate gradients instead of solid colours, shadows, and blurs. Gradients is particularly complex, but only because it’s so powerful. The challenge design/image gave plenty of scope for playing around with the various elements and modifiers, but it also incorporated […]