SwiftUI Weekly - Issue #51
The curated collection of links about SwiftUI. Delivered every Monday.
News
Trojanized Xcode project targeting Apple developers found in the wild
A new backdoor threat has been discovered that aims to compromise Apple developers’ Macs with a trojanized Xcode project. This malware can record victims’ microphone, camera, keyboard, and also upload/download files. The first in the wild example of the threat was found within a US organization.
Reading
UI Testing in Swift with XCTest framework
I’m not going to talk about the importance of testing in general, but I want to talk about UI testing. One obvious benefit of UI testing over Unit Testing is the opportunity to write UI tests even when you have a smelling and deeply coupled codebase. This week we will learn how to write UI tests both for SwiftUI and UIKit-based projects.
Scaling Custom SwiftUI Fonts With Dynamic Type
We've previously seen how to make a custom font scale with dynamic type when using UIKit. How do you do the same with SwiftUI?
How to use Google Maps in SwiftUI apps
In this tutorial we’ll create a simple reusable Google Maps view that you can use in your SwiftUI apps. The process is simple but it takes a few steps.
Opaque Types and 'some' in Swift
Opaque types are a magical feature of Swift. With the "some" keyword, you can hide the concrete return type of a function.
Open Sourcing isowords
We're open sourcing the entire code base to our newly released iOS word game, isowords!
Code
Expenso
A Simple Expense Tracker App built to demonstrate the use of SwiftUI, CoreData, Charts, Biometrics (Face & Touch ID) and MVVM Architecture.
isowords
Open source game built in SwiftUI and the Composable Architecture.
Video
@Binding Property Wrapper Explained
In today's video I show you how to pass data between two views in SwiftUI. In this particular example we use the @Binding property wrapper in SwiftUI. I show you how a button tap from a modal view can change the data on the parent view.
How to use SwiftUI Redacted
In this SwiftUI tutorial, we’ll carry on improving our SwiftUI News App overall UI & UX. We'll be providing a placeholder for our article views with the SwiftUI redacted modifier, replacing our loading view from previous videos and now implementing a SwiftUI skeleton view similar to Facebook.
Dribbble Ball Animation with Drop Shadow Effect
In this Video i'm going to show how to create a Stylish Loading Animation Like Dribbble Loading Ball Animation With Drop Shadow Effect.