SwiftUI Weekly - Issue #41
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
AnimatableModifier in SwiftUI
I have already talked about animations in SwiftUI many times on this blog. But still didn’t cover all the opportunities in terms of animation. Today I want to fill another gap and talk to you about the AnimatableModifier protocol that opens new horizons for animations.
Labels in SwiftUI
We often underestimate the power of simple things. The same feelings I had during the first usage of Label view in SwiftUI. It looks straightforward, but it hides many use cases where it works great. Today we will talk about the Label view and its customization capabilities.
Understanding of Property Wrappers in SwiftUI
SwiftUI relies heavily on the property wrappers to make out code easier to read, write & maintain. I think you forgot to use the “@” and “$” signs have come from — they can seem alien at first.
Avoiding SwiftUI’s AnyView
How SwiftUI’s AnyView type can often be avoided, and why it might be a good idea to do so.
How to use flexible frame in SwiftUI
In SwiftUI there are fixed frame and flexible frame modifiers.
Accessing the photo library in SwiftUI
How to access the photo library in SwiftUI using PHPicker.
How to instrument SwiftUI app
There are many profiles in that template, I find SwiftUI and Time Profile very useful. Here’s the profile I run for my app PastePal.
Static maps in SwiftUI with MKMapSnapshotter
How to use MKMapSnapshotter in SwiftUI views to create static maps.
Code
KeyboardKitSwiftUI
KeyboardKit is a helps you create custom keyboard extensions for iOS and ipadOS. It provides you with a rich set of tools and actions, haptic and audio feedback, input sets, keyboard layouts etc. and lets you create keyboards with characters, numbers, symbols, emojis, images or entirely custom ones.
Video
SwiftUI 2.0 Compositional Layout
In this Video i'm going to show how to create Instagram Feed Layout.