StringInterpolation in Swift 5 — AttributedStrings
Dec 15, 2018, 7:00 PM
In the previous post, we introduced the new StringInterpolation design coming to Swift 5. In this second part, I’ll focus on one application of that new ExpressibleByStringInterpolation, to make NSAttributedString prettier.
StringInterpolation in Swift 5 — Introduction
Dec 14, 2018, 7:00 PM
In Swift 4, the StringInterpolation protocol got deprecated, because its original design was inefficient and inflexible, with the goal of redisigning it entirely after Swift 4. Since then, SE-0228 introduced a new design for...
Private properties in protocols
Sep 1, 2018, 8:00 PM
In Swift, protocols can’t specify access control to the properties they declare. If a property is listed in a protocol, you have to make conforming types declare those properties explicitly.
But sometimes, even if you need those properties...
Jun 13, 2018, 8:00 PM
With Xcode 10 and Swift 4.2, the new @dynamicMemberLookup proposal is now available in Swift. Let’s have some fun with it.
Welcome Xcode 10
With the WWDC’18 just finished, the first beta of Xcode 10 is already available and really...
Using Dedicated Objects as Delegates & Datasources
May 19, 2018, 8:00 PM
Today for my come-back post (hopefully), I’ll be talking about a tip for your UITableViewDataSource and UITableViewDelegate. The idea is in fact applicable to a lot of other things following the same delegate pattern, but the use case of...
SwiftGen 4.2 and other news
Feb 18, 2017, 7:00 PM
SwiftGen — my tool to generate Swift code so you can use your images, localized strings, fonts, storyboards and other assets in a type-safe way — has just been released in version 4.2 after a big internal refactoring. I’ve also been...
Nov 26, 2016, 7:00 PM
This is a quick post to reassure you that this blog is still alive 😜 And announcing the subjects that I plan to write about in the upcoming articles.
I’ve been quite swamped lately, not having much free time to do OpenSource work on my...
Talking at conferences
Sep 5, 2016, 8:00 PM
This month, I’m going to talk at (NSSpain and FrenchKit) about Swift 🎉 I’m looking forward to speak for the first time at such great conferences, and I really hope to see you there!
Talking at NSSpain & FrenchKit
This post is just a...
Sep 3, 2016, 8:00 PM
This is a quick announce about the new release of my OpenSource code generation tool SwiftGen 3.0.0.
What is SwiftGen?
In case you don’t know SwiftGen, it’s a tool (written in Swift) to do code generation for your Swift project.
Closures Capture Semantics: Catch them all!
Jul 24, 2016, 8:00 PM
Even with ARC nowadays, it’s still important to understand memory management and objects life-cycles. A special case is when using closures, which are more and more present in Swift and have different capture semantics than ObjC’s block...