SwiftUI Weekly - Issue #74
The curated collection of links about SwiftUI. Delivered every Monday.
News
Apple, US developers agree to App Store updates that will support businesses and maintain a great experience for users
Apple today announced a number of changes coming to the App Store that, pending court approval, will resolve a class action suit from US developers.
Reading
Best practices for building accessible mobile apps
Learn about developing mobile apps with an accessibility mindset and the strategies, best practices, and tools that can help software engineering teams create more accessible mobile products.
The power of accessibilityRepresentation view modifier in SwiftUI
The SwiftUI Release 3 has a lot of improvements in the area of accessibility. It provides all the missing APIs like accessibility rotors, but it also gives us new ways of doing complex things efficiently. This week we will talk about the accessibilityRepresentation view modifier that allows us to replace accessibility elements of one view with another.
Exploring SwiftUI map custom annotations
This time we will look into creating custom map annotations, the limitations, and how to overcome some of them. Placing annotations on the map, like marking a specific place, is one of the most critical tasks when showing a map in our iOS applications.
View clipping in SwiftUI
A quick tour on all the possible ways we can clip views in SwiftUI!
How to Create Animated Gradients in SwiftUI
In this tutorial, we show you how to animate gradient in SwiftUI. We will discuss three approaches including the use of hue rotation and AnimatableModifier.
Code
BottomSheet
A sliding Sheet from the bottom of the Screen with 3 States build with SwiftUI.
Video
SwiftUI User Location on a Map
In today's video, I show you how to show a user's location on a map in SwiftUI using MapKit and CoreLocation. We also discuss how to ask for location permission and handle the various permission states.
SwiftUI and Accessibility
What aspects of accessibility should we remember to account for as a developer? What are SwiftUI accessibility modifiers and how can they help us with VoiceOver and Voice Control? What can we learn regarding accessibility from a concrete example using a real-life project?
iOS 15 Swipe Actions, Enumerated List and more
In this video I am going to take a look at a new feature introduced to SwifUI in IOS 15, and that is Swipe actions on a list.