SwiftUI Weekly - Issue #32
The curated collection of links about SwiftUI. Delivered every Monday.
News
Apple’s iPhone 12 Lineup: The MacStories Overview
Today during its streamed event from Apple Park, Apple debuted its flagship iPhone 12 lineup consisting of four separate devices, the largest number of new models ever debuted at once: iPhone 12 mini iPhone 12 iPhone 12 Pro iPhone 12 Pro Max The iPhone 12 and 12 mini are the more affordable options.
Reading
Mastering GroupBox in SwiftUI
Styleable views is the thing I love in SwiftUI. You can separate your view logic and its style. You can easily apply different styles in different conditions whenever you need to change appearance depending on the platform or other environmental requirements. This week we will talk about GroupBox, another view container that SwiftUI provides, and allows us easily change its look and feel using a style protocol.
Composing SwiftUI views
We’re tasked with building a brand new iOS 13+ app, or, maybe, with migrating an app from UIKit to SwiftUI: where should we start?
Home Screen Quick Actions — SwiftUI 2.0
Home Screen Quick Actions are introduced in iOS 12. A shortcut buttons which navigates the user to a specific place in the application. Nowadays many apps are coming with this Quick Actions. In this post, we are going to learn how can we implement the “Home Screen Quick Actions” in SwiftUI App Life Cycle (2020).
How iOS Apps Adapt to the various iPhone 12 Screen Sizes
Apple announced four iPhone 12 models: iPhone 12 mini, iPhone 12, iPhone 12 Pro and iPhone 12 Pro Max. The iPhone 12 and 12 Pro have the exact same screen resolution as each other and behave identically. So there are only really three screen resolutions to consider.
Introducing Stacks in SwiftUI
What Are Stacks? Stacks are layout tools provided by SwiftUI to help us arrange the children in a view.
How to Preview Photos in SwiftUI
Scale and animate photos from a photo grid
Video
SwiftUI: Advanced Shape Design
In this episode we leverage the ability to transform layout guides to build shapes that have repeating elements and / or symmetry to their design. You can save yourself a lot of time and clean up your code considerably using the techniques we're going to be discussing so don't miss it!
Make A SwiftUI Image Gallery/Slideshow With Auto Scrolling
In this video we create an auto scrolling image gallery with manual controls to move forwards and backwards through the images. We also make sure that the transition between the images have nice slide animation whilst they change.