SwiftUI Weekly - Issue #35
The curated collection of links about SwiftUI. Delivered every Monday.
News
Apple Unveils New M1 Apple Silicon Chip for Macs
During this morning’s Apple special event stream, SVP of Hardware Technologies Johny Srouji unveiled the first Apple silicon chip for Mac. The company teased this chip at WWDC in June, but we’ve had to wait until today for the full details.
Reading
How to use GeometryReader without breaking SwiftUI layout
Usually, I try to avoid GeometryReader as much as I can. But sometimes, we need it to build our custom view. This week we will talk about GeometryReader. The view that allows us to read its geometry and layout child views manually.
Displaying text in SwiftUI
In Composing SwiftUI views we’ve covered an example on how to start building a design system, and how it’s very beneficial to have one as early as possible in any project.
Attributed Strings with SwiftUI
In this article we will explore the challenges and limitations of using Attributed Strings with SwiftUI views.
SwiftUI and UIKit interoperability
A closer look at how SwiftUI and UIKit can be combined in various ways, starting with how we can bring increasingly complex UIKit-based views and view controllers into the declarative world of SwiftUI.
How an Hstack Lays out Its Children
objc.io publishes books on advanced techniques and practices for iOS and OS X development.
#hashtag Styling in SwiftUI
Quickly highlight hashtags in SwiftUI text views using the function provided here.
Code
pure-swift-ui
PureSwiftUI is a Swift package designed to enhance the experience of writing SwiftUI code. An additional goal is to make these changes as intuitive as possible, requiring little to no experience with the package to begin using its advantages in ernest.
Video
SwiftUI 2.0 Complex UI With Complex Shapes And Curves
In this Video i'm going to show how to create a Complex VPN App UI With Complex Beizer Curves Using SwiftUI 2.0
SwiftUI 2.0 Nike App Concept UI
Replicating Nike app concept UI in SwiftUI 2.0