Transitions play a vital role in the user experience of our apps. They are visual keys signalizing that the app or screen context is changing. In this article, we will go through all important parts related to the implementation of transitions in SwiftUI – from the very basics to more advanced techniques. At the end […]
With Mac Catalyst and SwiftUI support for macOS, Apple has been pushing new tools to the community for the past couple years to create new services on Mac computers. Does it mean you should do too? Here are couple things to consider first. During WWDC 2019, Apple released Mac Catalyst for developers to turn their […]
I’ve been thinking about privacy lately. No, not online privacy, but about how APIs can balance exposing the right amount of implementation details without revealing too much. I’ll walk through a task I find myself doing often when building iOS apps, creating a view controller with header view, and four different ways to go about […]
Designing a watchOS app in Swift always felt to be quite tricky. I could spend hours tweaking redoing layout and constraints. With SwiftUI supporting watchOS, I wanted to have a new try at it, releasing a standalone app for Apple Watch. As a regular runner and wearing, and always wearing a watch during exercising, I […]
Shortly stepping back from coding for a week and reading about the community, I realized it how easy it is to be crushed by anxiety: I see so many great things happening every day, things I want to be part of, but at the same time getting anxiety to be good enough. This is my […]
In the last couple years, Apple has made some good efforts to improve their testing tools. Today, I’ll walk you through some tips to make sure your test suite run at their best capacity. Project configuration and testing environment If you haven’t added yet some unit tests in your app, the first step is to […]
A recurring challenge in programming is accessing a shared resource concurrently. How to make sure the code doesn’t behave differently when multiple thread or operations tries to access the same property. In short, how to protect from a race condition? To build a Thread-safe data structure, we need to briefly walk through concurrency principles in […]
In this post, I would like to discuss several ways how to create onboarding/introduction screens for your app. Let me keep aside the discussion if such screens are good UX pattern, but let me rather examine SwiftUI capabilities for such task instead. The task The task for today’s SwiftUI exercise is simple. We would like […]
About a month ago, it became possible to run Swift code on AWS Lambda. I was really interesting to try and see how easy it would be to deploy small Swift functions as serverless application. Let’s see how. If you missed the news, Swift code running on AWS Lambda is available under couple conditions, but […]
Each year at WWDC Xcode Santa brings us exciting new APIs to play with, and this year our accessibility present is Customized Accessibility Content. This API flew under the radar a little, I’m told this is because it’s so new there wasn’t even time for inclusion at WWDC. But this new feature helps to solve […]