ylliX - Online Advertising Network

Create a watchOS app in SwiftUI

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 […]

Advanced testing tips in Xcode

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 […]

Deploying your Swift code on AWS Lambda

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 […]

Introduction to MVVM pattern in Objective-C

Even though the iOS ecosystem is growing further every day from Objective-C, some companies still heavily rely on it. A week away for another wave of innovation from WWDC 2020, I thought it would be interesting to dive back into Objective-C starting with a MVVM pattern implementation. As a quick reminder, MVVM pattern is an […]

Data Structure – Implementing a Tree in Swift

Following up previous articles about common data structure in Swift, this week it’s time to cover the Tree, a very important concept that we use everyday in iOS development. Let’s dive in. Concept Opposite to linear structure that we’ve covered like Queue or Stack, a Tree is hierarchical structure represented by a set of linked […]

Using Key-Value Observing in Swift to debug your app

Recently, I was looking into a bug where the UITabBar was inconsistently disappearing on specific pages. I tried different approaches but I couldn’t get where it got displayed and hidden. That’s where I thought about KVO. Some background on my issue, I had a custom TabBarController inheriting UITabBarController which hides or shows its tabBar based […]