SwiftUI Weekly - Issue #88
The curated collection of links about SwiftUI. Delivered every Monday.
Apple’s use of Swift and SwiftUI in iOS 15
iOS 15 was released a few months ago in September 2021. In this article, I analyze the built-in apps composing iOS 15. How many binaries are in iOS 15? Which programming languages are used to develop these apps? How many apps are written with Swift? Has Apple adopted SwiftUI for some built-in apps?
SF Symbols in SwiftUI
Apple provides us with a set of different icons available across all the platforms called SF Symbols. SF Symbols package contains more than 3200 icons that we can use to visualize different states and actions in our apps. This week we will learn how to utilize the power of SF Symbols in SwiftUI views.
Adding custom keys to the SwiftUI environment
Sometimes you’ll find yourself in a situation where you want to conveniently pass some object down via the SwiftUI environment. An easy way to do this is through the .environmentObject view modifier. The one downside of this view modifier and corresponding @EnvironmentObject property wrapper is that the object you add to the environment must be an observable object.
Declarative Reactive Programming with Combine
Any non-trivial application uses some form of data, whether retrieved from a web service, from a database or generated by user interaction. A well-behaved application properly responds to data changing over time while preserving a delightful uninterrupted user experience. Achieving this result can be a challenge, though, as most applications rely on several data sources whose changes might require a user interface update at any time.
Cascading Environment actions in SwiftUI
We build an Observer-pattern-like implementation for SwiftUI with actions passed into the environment.
Creating Combine-compatible versions of async/await-based APIs
Creating convenience APIs that make it possible to convert async/await-based functions into Combine publishers.
iOS Software Engineer - Weather, News, Stocks
Apply for a iOS Software Engineer - Weather, News, Stocks job at Apple. Read about the role and find out if it’s right for you.
Sr iOS Software Engineer - Weather, News, Stocks
Apply for a Sr iOS Software Engineer - Weather, News, Stocks job at Apple. Read about the role and find out if it’s right for you.