Discover more from SwiftUI Weekly
SwiftUI Weekly - Issue #128
The curated collection of links about SwiftUI. Delivered every Monday.
Last week we started a series of posts about the new Charts framework available on the latest Apple platforms. We talked about basic stuff and learned how to plot data. This week we will continue mastering the Charts framework by learning different customization and styling options available.
The TimelineView is very straightforward and a great addition to iOS 15, it is just a view that updates according to a preset scheduler that you can provide. This scheduler can be fixed dates in the future, or a simple animation scheduler that will animate changes inside the TimelineView, and can also repeat in recurring intervals.
It is common to break up a complex view into smaller pieces. Even something as simple as showing a sheet is typically done by having a dedicated view for the presenting view and presented view. For example, a list of rows such that when one is tapped it brings up a sheet for editing.
While we can provide a fully custom view as a label of the ShareLink in SwiftUI, we can also customize the default appearance with view modifiers instead.
How do you localize a string in a Swift Package?
There are two ways to use SwiftUI as
UIViewController in Storyboard for a UIKit project.
In this video I will introduce you to Lottie 4.0, Lottie is Airbnb’s cross-platform, open-source library for rendering vector motion graphics. Lottie is used extensively at Airbnb, and it also powers animations in thousands of other apps throughout the industry.