Swift Discovery #16
Welcome to another issue of Swift Discovery. This time we have some interesting articles, open source and Black Friday deals from indie
Article
Hierarchical background styles in SwiftUI
New modifier from iOS 17 on BackgroundStyle, which conforms to ShapeStyle, like secondary, tertiary, and quaternary makes it easy to define hierarchical background in SwiftUI
Backport SwiftUI modifiers
Learn how to backport new SwiftUI APIs and data structures with similar names in our code
Apple’s use of Swift and SwiftUI in iOS 17
Learn how to analyze how much Swift and SwiftUI are used in iOS by Apple
Combine charts to create stunning designs with Swift Charts
Learn how to combine multiple kinds of Swift Charts from LineMark, RuleMark and AreaMark to create beautiful charts
How to customize the macOS menu bar in SwiftUI
In this post, we’ll take a look at how to customize the macOS menu bar for a SwiftUI app, using SwiftUI tools like CommandMenu and CommandGroup.
How (not) to monitor SwiftUI @State
Be aware of how property wrappers in SwiftUI like State and Binding work to avoid using didSet
Using Observation framework outside of SwiftUI
Learn how to use withObservationTracking(_:onChange:) function included in the new Observation framework to track changes to properties of an observable class.
GeometryReader: Blessing or Curse?
Learn the pros and cons of GeometryReader and how it actually works
Open source
Inferno
Inferno is an open-source collection of fragment shaders designed for SwiftUI apps
Variablur
With Variablur, you can create variable blur effects that you control with a mask
Videos
SwiftLeeds 2023 videos
I haven’t been to many conferences since WWDC19 and I was so happy to finally attend SwiftLeeds. I had such a great time and all the talks are worth listening to.
Black Friday
Black Friday and Cyber Monday 2023 is around the corner, and I’ve curated a list of cool deals from fellow indie developers indiegoodies.com/blackfriday Here you can search, filter, and find a lot of handy iOS and Mac apps with big discounts.
If you plan to up your AppStore game, check out Shipmunk, which currently at 50% discount on lifetime purchases and also offers free for the first month. Shipmunk is both a powerful ASO keyword optimizer and an AppStore Connect manager where you browse different regions and bookmark apps and reviews.