Jullian MercierSwift (peer) macrosMacros are a new Swift feature, part of the Swift standard library (currently available with Xcode 15 beta) to generate repetitive code at…4 min read·Jul 9, 2023----
Jullian MercierSwift Package Manager — Integrating resourcesDeclaring resources2 min read·Dec 24, 2020----
Jullian MercierCombine — Collect() operator`collect()` is a powerful operator that enables us to receive all at once the outputs from a publisher.1 min read·Nov 9, 2020--1--1
Jullian MercierSwiftUI — Creating a custom @EnvironmentSwiftUI enables us to access common pieces of information throughout the app using `@Environment` objects avoiding the cumbersomeness of…3 min read·Oct 25, 2020----
Jullian MercierCombine — Single-valued publisherWhile creating a custom operator out of Combine’s built-in ones in the `Publisher` extension is a useful (and quick!) technique to…3 min read·Apr 3, 2020--1--1
Jullian MercierSwift — @propertyWrapper with PublisherProperty wrappers are one of Swift’s major new features enabling us to attach some specific behavior each time a property gets accessed or…2 min read·Mar 21, 2020----
Jullian MercierCombine — Creating a custom subscriberWhile Combine provides with a `sink` method that conveniently « creates the subscriber and immediately requests an unlimited number of…2 min read·Feb 23, 2020----
Jullian MercierSwift — Leveraging the power of first-class functionsFunctions, in Swift, are first-class citizens that can be passed as arguments, stored in properties or returned from functions.2 min read·Feb 16, 2020----
Jullian MercierCombine — share() and multicast()Combine is designed around structs — which are value types — ensuring that a copy is made by the system whenever a resource is stored in a…3 min read·Jan 2, 2020----
Jullian MercierCombine — switchToLatest()switchToLatest() is one of the most powerful operator in Combine at it enables us to switch entire publisher subscriptions on the fly…2 min read·Dec 8, 2019--2--2