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...
Data Structure and Algorithm applied to iOS
Dec 19, 2019, 3:00 AM
When asked about data structure and algorithm for an iOS development role, there is always this idea that it’s not a knowledge needed. Swift got already native data structure, right? Isn’t the rest only UI components?...
How to integrate Redux in your MVVM architecture
Dec 9, 2019, 3:00 AM
For last couple years, I’ve been experimenting different architectures to understand pros and cons of each one of them. Redux architecture is definitely one that peek my curiosity. In this new post, I’ll share my finding pairing Redux with...
Software engineer, it's okay to not have a side project
Oct 19, 2019, 4:00 AM
There is a believe that any software developer must contribute or have a side project to work on. Even if it’s great to have, I think there is something bigger at stake doing that.
How to build a modular architecture in iOS
Sep 30, 2019, 4:00 AM
Over time, any code base grows along with the project evolves and matures. It creates two main constraints for developers: how to have a code well organized while keeping a build time as low as possible. Let’s see how a modular...
Analytics - How to avoid common mistakes in iOS
Sep 24, 2019, 4:00 AM
I have been interested in analytics tools for a while, especially when it’s applied to mobile development. Over the time, I saw many code mistakes when implementing an analytical solution. Some of them can be easily avoided when...
Events and Talks
Sep 22, 2019, 4:00 AM
I recently tried to be more active in the iOS community. Becoming speaker and talks to events is my next challenged. Here is the list of talks I’ve made so far.
My very first one was recently at iOS meetup Singapore in July 2019,...