A DSL for state machines in Swift
Feb 13, 2021, 5:01 PM
State machines are great tools to describe systems with a finite number of states. They are predictable and testable, which is something we praise for as developers. State machines can be defined in a pretty abstract way, which makes it a...
Functions as dependencies in Swift
Aug 19, 2020, 5:01 PM
Implementing an architecture within an application can be challenging. There are rules we can follow (SOLID, Clean Architecture) and patterns to guide us (MVVM, MVP, MVI, Redux, …) but sometimes, things we thought were well established...
Mar 26, 2020, 5:01 PM
Introducing Spin, a universal feedback loop system in Swift. A Feedback Loop is a system that is able to self-regulate by using the resulting value from its computations as the next input to itself, constantly adjusting this value...
Swift: An Aspect Oriented Programming Language ?
Jul 20, 2019, 5:01 PM
To answer this question, we must first understand what is Aspect Oriented Programming (aka AOP). I like to see AOP as a response to a certain kind of failure of Object Oriented conceptions.
Property Wrappers In Swift 5.1, The Missing Published Implementation
Jun 18, 2019, 5:01 PM
It’s been an amazing WWDC this year. SwiftUI and Combine were some big announcements of the conference. They will have a huge impact on our daily life as iOS developers.
RxReduce: Reactive State Container Architecture Part 2
Jun 25, 2018, 5:01 PM
As we saw in “RxReduce: A Reactive State Container Architecture Part 1”, State is a central concern in applications. I strongly invite you to take a look at this first article. So far, we haven’t introduced the concept of Reactive...
RxReduce: Reactive State Container Architecture Part 1
Jun 24, 2018, 5:01 PM
State management has become a very popular concern lately in mobile applications. The idea of a state that should be the single source of truth within an application is quite attractive ! The views would only be a displayable artefact of...
Type safe network layer
Apr 28, 2018, 5:01 PM
There are plenty of posts about doing a network layer in a type safe way with Swift. No matter the used network API, those approaches all rely on returning a data type that is precisely what we expect. In this post we will try to go a...
A glance at conditional conformance
Apr 2, 2018, 5:01 PM
Swift 4.1 is available since a few days now and it comes with an interesting feature: Conditional conformance. This is a new tool for achieving Protocol Oriented Programming as well as API designing. This post is a quick take on this brand...
Elegantly chaining UIViewPropertyAnimators
Mar 24, 2018, 5:01 PM
Usually my posts are mostly about design patterns, software architectures (or RxFlow 😀), but this time it will be different and frankly I didn't think I would write about this kind of topic. But I think I have something cool to share: so...
Protocol Oriented Tips For MVVM in Swift
Jan 2, 2018, 5:01 PM
Hi folks. Lately MVVM has become some sort of standard as an architecture for iOS apps. It offers a good separation of concerns, a good way to format data and great view binding mechanisms with frameworks such as RxSwift. In this post I...
RxFlow Part 3: Tips and tricks
Dec 22, 2017, 5:01 PM
This is the final chapter of our journey within RxFlow. I’ve already exposed all the key features/principles of the framework in these 2 previous parts, let’s dive into some tips and tricks I used thanks to Reactive Programming.
RxFlow Part 2: In Practice
Dec 9, 2017, 5:01 PM
A few weeks ago I introduced in this blog an iOS framework called RxFlow. I’ve been working on this framework for several months, and it is now ready to be used. If you haven’t read it yet, I suggest you take a look at this post "RxFlow...
Nov 22, 2017, 5:01 PM
In Swift, some APIs such as RxSwift use a technic that confines the code they’re exposing in a dedicated namespace. In this post we will figure out how this is done in the most generic and versatile way.
Type erasure in Swift
Nov 9, 2017, 5:01 PM
With Swift, you can define protocols by associating one or more generic types. These types are defined using the associatedtype keyword. The name “Generic Type” is a bit usurped here, we should talk about a placeholder for a reserved type....
RxFlow Part 1: In Theory
Nov 8, 2017, 5:01 PM
This is a first article in a series that will be the heart of this blog for a while. I’m going to introduce RxFlow: a framework of my design implementing Reactive Flow Coordinator within iOS applications. RxFlow relies on RxSwift and is a...
Nov 1, 2017, 5:01 PM
EZStream is the easiest way to stream your device camera in any web browser.