

Discover more from Swift Discovery
Swift Discovery #11
Welcome to another issue of Swift Discovery newsletter. I used to publish this newsletter from Revue, unfortunately it has been shut down so let's start again with Substack.
Articles
Search
Starting with iOS 15, SwiftUI supports search thanks to the new .searchable modifier. It was also extended with the support for tokens in iOS 16 which was exactly what I was waiting for
Understanding basic animations in SwiftUI
Learn different options to animate SwiftUI views.
Understanding SwiftUI view lifecycles
When we write SwiftUI code, we construct a view tree that consists of nested view values. Instances of the view tree are ephemeral: SwiftUI constantly destroys and recreates (parts of) the view tree as it processes state changes
Previewing Stateful SwiftUI Views
SwiftUI previews are a great tool for developing SwiftUI views, and when they work, they provide an amazing developer experience: no need to re-run the application for every little change you make
Creating Custom SF Symbols
Learn how to tweak existing SF Symbols to make your own custom one.
SwiftUI Views are Lists
Container views such as
HStack
andVStack
take these lists, iterate over them and lay them out. Using theLayout
protocol, you can also see these flattened lists
Videos
Modern SwiftUI
What does it take to build a vanilla SwiftUI application with best, modern practices? We rebuild Apple’s Scrumdinger code sample, a decently complex application that tackles real world problems, in a way that can be tested, modularized, and uses all of Swift’s powerful domain modeling tools.
Do iOS 2022
These are the recordings of all talks of the Do iOS Conference that was held on 8 and 9 November 2022 in Amsterdam.
Open source
Squirrel
A menu bar app that adds scrolling to the simulator
swift-dependencies
A dependency management library inspired by SwiftUI's "environment."