SwiftUI Weekly - Issue #124
The curated collection of links about SwiftUI. Delivered every Monday.
Spot the differences, merge in seconds — kaleidoscope.app
Kaleidoscope gives you power tools to use at each stage of the development cycle. Compare source code, resolve git merge conflicts, debug with the kspo command, and check your XCTest results. Get 20% off by using coupon SwiftUIWeekly.
Building custom layout in SwiftUI. Spacing.
Multiple layouts allow us to compose views in different ways. One crucial thing is the spacing between children of the concrete layout. This week we will learn how to build a custom layout allowing us to specify a particular spacing between views and how to respect the platform-oriented predefined spacing rules in SwiftUI.
How to use FormatStyle to restrict TextField input in SwiftUI
Restrict TextField input to a specific set of characters by making use of a custom FormatStyle or Formatter in SwiftUI.
Showing a Swift Enum’s Values in a SwiftUI Picker
Swift enums let you create your own data types with a limited number of possible values. You may want to use a picker in a SwiftUI app to choose one of the enum.
Cool animations implemented with SwiftUI.
Will ChatGPT Destroy iOS Developer Jobs?
I demonstrate how to use ChatGPT to create an iOS App that makes a network call to the GitHub API to pull down a list of my followers and present it in a grid using SwiftUI. I also give my thoughts on how this will impact our jobs as iOS Developers and if you should be worried.