How risky is it to use [unowned self]? 🤔
Newsletter Vincent Pradeilles Newsletter Vincent Pradeilles

How risky is it to use [unowned self]? 🤔

I’m sure you already know about retain cycles and how they can be broken by capturing a weak reference to an instance.

You might have also heard that, instead of a weak reference, you can also capture an unowned reference.

And you might have even heard that unowned reference are a bit more optimized, but also a bit more risky.

Read More
When do you really need to use [weak self]? 🤨
Newsletter Vincent Pradeilles Newsletter Vincent Pradeilles

When do you really need to use [weak self]? 🤨

In today’s email, we’re going to talk about a tricky question that iOS developers are bound to ask themselves regularly:

“Should I use [weak self] in this closure?”

To answer this question, we’ll go over a few examples. And as you’ll see, the answer is not always as clear cut as it seems!

Read More
Here are 5 Xcode tips you really wanna know 😌
Newsletter Vincent Pradeilles Newsletter Vincent Pradeilles

Here are 5 Xcode tips you really wanna know 😌

I’ve recently stumbled upon an amazing website that basically lists all the tips and tricks you can use to make the most of Xcode 😌

So I really recommend you go check that website! And in the mean time, here’s a list of 5 tips that you can start using today!

Read More