
MVVM in SwiftUI
Let’s build a simple app using MVVM (model-view-view model) where every SwiftUI view has its own view model. It’s going to be an app with two views: list of movies… Read more MVVM in SwiftUI →
Let’s build a simple app using MVVM (model-view-view model) where every SwiftUI view has its own view model. It’s going to be an app with two views: list of movies… Read more MVVM in SwiftUI →
One building block for navigating from one view to another is NavigationView which is a representation of UINavigationController in UIKit. This time, let’s take a look on how to transition… Read more Animating view transitions in SwiftUI →
Instead of initializing SwiftUI views with dependencies, SwiftUI also offers other ways for injecting dependencies. This time let’s take a look on EnvironmentKey which defines a key for inserting objects… Read more Injecting dependencies using environment values and keys in SwiftUI →
How to navigate to a new view in SwiftUI and then dismissing it? Let’s set up a main view in NavigationView and NavigationLink for opening detail view. NavigationLink is a… Read more NavigationLink and presentationMode environment value property for dismissing a view in SwiftUI →
This year Apple added CGAnimateImageAtURLWithBlock and CGAnimateImageDataWithBlock for animating GIFs and APNGs on all the platforms to the ImageIO framework. We can pass in URL or data and get callbacks… Read more Animating GIFs and APNGs with CGAnimateImageAtURLWithBlock in SwiftUI →
Apple’s Vision framework contains computer vision related functionality and with iOS 13 it can detect text on images as well. Moreover, Apple added a new framework VisionKit what makes it… Read more Scanning text using SwiftUI and Vision on iOS →
Let’s build a conversation view which shows a list of messages and has input text field with send button. Sent and received messages are managed by Conversation object. Conversation object… Read more Creating chat view with Combine and SwiftUI →