SwiftUI Weekly - Issue #54
The curated collection of links about SwiftUI. Delivered every Monday.
News
How to Become an iOS Developer in 2021
The skills, resources, and networking that will get you to your goal.
Reading
Designing API using Combine framework
Combine framework provides a declarative Swift API for processing values over time. It allows you to chain, transform and reduce multiple operations. This week we will learn how to design our APIs using the Combine framework to leverage all the data processing power that the framework provides us.
Creating Multiple Scenes in a SwiftUI App
In this post, I cover the new SwiftUI application model that was introduced with iOS 14 and how to manage multiple scenes on iPad devices.
Drawing Charts in SwiftUI
Every now and then I need to visualise data in some nice looking charts. This post will show how to draw charts in a SwiftUI-application.
How to add background to your view in SwiftUI
Learn how hard or easy it is to add a background view in SwiftUI.
Top-Level Menu Visibility in SwiftUI for macOS
SwiftUI’s new app lifecycles makes it extremely simple to create menus on-demand. Modifying a top-level menu however is surprisingly hard.
Thoughts on SwiftUI navigation
I am using SwiftUI & ComposableArchitecture for a while already. I had built several iOS & macOS apps with it, but there is one topic that I am still struggling with - NAVIGATION.
Simple Slick SwiftUI Onboarding View
Apparently, even if SwiftUI 2.0 has powerful enough for production code, but sometimes they are still lacking documentation for a simple component like PagingView. As your information, there is now a native equivalent of UIPageViewController in SwiftUI 2.0 which is adding the .tabViewStylemodifier to TabView and pass PageTabViewStyle.
A deep dive into Swift’s result builders
A closer look at Swift’s result builders feature, and how it can give us some really valuable insights into how SwiftUI’s DSL operates under the hood.
Code
Apple Platform Development
Resources common to iOS, macOS, tvOS, watchOS, etc.
Video
Dark Mode in SwiftUI using @Binding and @AppStorage
In this SwiftUI tutorial, we’ll look at how we can add dark mode in SwiftUI. We’ll look at how we can use the combine framework in SwiftUI to use Binding to control the theme of our app to switch between dark mode, light mode and the system theme.