Open Source checklist for your next Swift library
Sep 11, 2021, 4:00 AM
Like many developers, I use open source tools on daily basis. Recently, I’ve got the chance to create one for other teammates and try to think about what I should consider before launching it. Today I share this checklist.
Unit testing UIView action and gesture in Swift
Aug 20, 2021, 4:00 AM
A big part of the developer journey is make sure our code behaves as expected. It’s best practice to setup tests that allow us to test quickly and often that nothing is broken. If unit testing is common practice to check the business...
Dependency injection and Generics to create a modular app in Swift
Aug 10, 2021, 4:00 AM
When we talk about modular app, we rarely mention how complex it can be over time and get out of hand. In most cases, importing frameworks into one another is a reasonable solution but we can do more. Let’s explore how with...
Things I wish I knew in my early coding career
Jul 25, 2021, 4:00 AM
For the past few years, I had the opportunity to mentor new joiners through different roles. In some aspects, I could see myself in them the same way I started years back: eager to prove themselves, jumping on the code and hacking...
Create a web browser with WebKit and SwiftUI
Jun 15, 2021, 4:00 AM
Recently, I’ve been more and more curious about web experience through mobile apps. Most of web browser apps look alike, I was wondering how could I recreate one with WebKit and SwiftUI. Let’s dive in.
Migrating an iOS app to SwiftUI - Database with Realm
Feb 15, 2021, 3:00 AM
To move an existing iOS app codebase to SwiftUI can quickly become a challenge if we don’t scope the difficulties ahead. After covering the navigation and design layer last week, it’s time to dive deeper into the logic and...
Migrating an iOS app to SwiftUI - Navigation & Storyboards
Feb 8, 2021, 3:00 AM
If SwiftUI is great for many things, migrating completely an existing app codebase to it can be really tricky. In a series of blog posts, I’ll share how to migrate an iOS app written in Swift with UIKit to SwiftUI. Today, let’s...
Creating a webcam utility app for macOS in SwiftUI
Jan 31, 2021, 3:00 AM
Did you ever have to share your screen and camera together? I recently did and it was that easy. How hard could it be to create our own? Today, we’ll code our own webcam utility app for macOS in SwiftUI.
Migrating MVVM architecture from RxSwift to Combine
Jan 24, 2021, 3:00 AM
It’s been almost two years that Combine has been introduced to the Apple developer community. As many developer, you want to migrate your codebase to it. You don’t want to be left behind but you’re not sure where to...
How to display date and time in SwiftUI
Jan 17, 2021, 3:00 AM
Displaying dates or times is a very common requirement for many apps, often using a specific date formatter. Let’s see what SwiftUI brings to the table to make it easier for developers.
Create a dynamic onboarding UI in Swift
Jan 10, 2021, 3:00 AM
When creating new features, it’s really important to think about how our users will use it. Most of the time, the UI is straightforward enough. However, sometimes, you will want to give some guidance, to highlight a button or a...
Goodbye 2020 - A year in perspective
Dec 30, 2020, 3:00 AM
Close to the end of the year, I tend to list what I’ve accomplished but also what didn’t go so well, to help me see what can I do better next year. With couple days early, it’s time to look back at 2020.
How to pass data between views using Coordinator pattern in Swift
Oct 26, 2020, 4:00 AM
A question that comes back often when using Coordinator pattern in iOS development is how to pass data between views. Today I’ll share different approaches for a same solution, regardless if you are using MVVM, MVC or other...
Automating App Store localized screenshots with XCTest and Xcode Test Plan
Oct 19, 2020, 4:00 AM
One reason I like so much working on native mobile apps is to deliver the user experience based on their region and location. Although, for every update, it can be painful for developers to recapture screenshots foreach available language....
Playing Video with AVPlayer in SwiftUI
Oct 12, 2020, 4:00 AM
I’ve been experiencing more and more with SwiftUI and I really wanted to see what we can do with video content. Today I’ll share my findings, showing how to play video using AVFoundation in SwiftUI, including some mistakes to...
With Catalyst and SwiftUI multi-platform, should you create a macOS version of your app?
Sep 22, 2020, 4:00 AM
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.
Create a watchOS app in SwiftUI
Sep 15, 2020, 4:00 AM
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 software engineer, how to face the impostor syndrome?
Sep 6, 2020, 4:00 AM
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...
Advanced testing tips in Xcode
Aug 16, 2020, 4:00 AM
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.
Atomic properties and Thread-safe data structure in Swift
Aug 2, 2020, 4:00 AM
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...
Deploying your Swift code on AWS Lambda
Jul 7, 2020, 4:00 AM
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.
Introduction to MVVM pattern in Objective-C
Jun 14, 2020, 4:00 AM
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...
100 day challenge of data structure and algorithm in Swift
Jun 8, 2020, 4:00 AM
Since January, I’ve been slowing down blogging for couple reasons: I started doubting about myself and the quality of my content but I also wanted to focus more on some fundamentals I felt I was missing. So I committed to a...
Data Structure - Implementing a Tree in Swift
May 10, 2020, 4:00 AM
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.
Using Key-Value Observing in Swift to debug your app
Apr 10, 2020, 4:00 AM
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.
Data Structure - Coding a Stack in Swift
Apr 2, 2020, 4:00 AM
After covering last week how to code a Queue in Swift, it sounds natural to move on to the Stack, another really handy data structure which also find his place in iOS development. Let’s see why.
Data Structure - How to implement a Queue in Swift
Mar 29, 2020, 4:00 AM
Recently revisiting computer science fundamentals, I was interested to see how specific data structure applies to iOS development, starting this week one of most common data structure: the queue.
Should I quit blogging?
Mar 24, 2020, 4:00 AM
When I started this blog in 2012, it was at first to share solution to technical problem I encountered on my daily work, to give back to the community. Over the years, I extended the content to other projects and ideas I had. Nowadays, I...
Start your A/B testing journey with SwiftUI
Feb 10, 2020, 3:00 AM
Last year, I shared a solution to tackle A/B testing on iOS in swift. Now that we have SwiftUI, I want to see if there is a better way to implement A/B testing. Starting from the same idea, I’ll share different implementations to...
How to make your iOS app smarter with sentiment analysis
Jan 28, 2020, 3:00 AM
For quite some time now, I’ve been developing an interest to data analysis to find new ways to improve mobile app. I’ve recently found some time to experiment neural language processing for a very specific usecase related to my...
Localization with SwiftUI, how to preview your localized content
Jan 19, 2020, 3:00 AM
With SwiftUI being recently introduced, I was curious if we could take advantage of SwiftUI preview to speed up testing localization and make sure your app looks great for any language.
SwiftUI - What has changed in your MVVM pattern implementation
Jan 12, 2020, 3:00 AM
Introduced in 2019, Apple made UI implementation much simpler with With SwiftUI its UI declarative framework. After some time experiencing with it, I’m wondering today if MVVM is still the best pattern to use with. Let’s see...