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…Jul 9, 2023Jul 9, 2023
Jullian MercierSwift Package Manager — Integrating resourcesDeclaring resourcesDec 24, 20201Dec 24, 20201
Jullian MercierCombine — Collect() operator`collect()` is a powerful operator that enables us to receive all at once the outputs from a publisher.Nov 9, 20201Nov 9, 20201
Jullian MercierSwiftUI — Creating a custom @EnvironmentSwiftUI enables us to access common pieces of information throughout the app using `@Environment` objects avoiding the cumbersomeness of…Oct 25, 2020Oct 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…Apr 3, 20201Apr 3, 20201
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…Mar 21, 2020Mar 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…Feb 23, 2020Feb 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.Feb 16, 2020Feb 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…Jan 2, 2020Jan 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…Dec 8, 20192Dec 8, 20192