Xcode configuration for multiple environments
Jan 20, 2021, 7:00 PM
I recently stumbled upon yet another article that explains different techniques to configure an Xcode project for multiple environments. Most of the articles out there propose the same solutions and although these are valid techniques, I...
Sep 8, 2020, 8:00 PM
Dependencies are at the core of programming. In iOS, we often use Cocoapods to manage dependencies in our projects. But if we are not careful, we can add a dependency that is not free to use, and expose our company to legal issues later....
Make impossible states impossible
Aug 6, 2020, 8:00 PM
Swift is a strongly typed language and in this article I want to focus on how to strengthen some part of our code using Swift types.
Jun 8, 2020, 8:00 PM
As Covid-19 started to spread, we tried to find a way to help as developers, with the tools at our disposal. One idea was to use out of the box Visit Monitoring service proposed by Apple to match locations with infected people. The idea at...
Using intents to leave the app
Mar 18, 2020, 8:00 PM
In an iOS application, we often have to redirect the user outside of the application for a variety of reasons: calling a number, sharing content, writing an email, etc.
UIAlertController with Function Builders
Mar 9, 2020, 8:00 PM
I always found the UIAlertController API too verbose. You first have to create an instance of UIAlertController, then create multiple instances of UIAlertAction and finally add the actions to the controller.
Feb 23, 2020, 7:00 PM
I recently wrote a public pod to share some common classes in my team. Since Github Actions came out I never had the chance to test them. So that was the perfect time to give it a shot.
Property based testing
Mar 19, 2019, 8:00 PM
You will always hear that writing tests is a good thing. But are you 100% sure about the pertinence of your test suite? What if you test only edges cases and miss something? Property based testing let you generate your tests instead of...
UIView styling with functions
Feb 18, 2019, 7:00 PM
Today I want to talk about UIView styling. The common approach when we want to customize the display of native UI controls (for instance UIButton or UILabel) is to create a subclass that overrides a bunch of properties. That works well...
Swinject in practice
Feb 4, 2019, 7:00 PM
I guess you already have heard of Dependency Injection. Dependency injection (DI) is a software design pattern that implements Inversion of Control for resolving dependencies.
How to leverage HTTP cache in iOS
Jan 21, 2019, 7:00 PM
This article was first published on Fabernovel blog.
Implementing Promises in Swift
Jan 5, 2019, 7:00 PM
I recently have been looking for some resources on how to implement a promise in Swift, and because I did not find any good articles about it, I thought I could write one instead. In this article we’ll implement our own Promise type in...