Composable Code Can Be Simple – Intro to dependency diagrams and composition

Composable Code Can Be Simple – Intro to dependency diagrams and composition

In this episode, we continue exploring the dependency inversion principle and composition, while documenting our system's evolution in diagrams.

Read More

The Minimum You Should Do To Prevent Memory Leaks in Swift

The Minimum You Should Do To Prevent Memory Leaks in Swift

In this episode, we continue the Clean Swift Tests discussion, and we demonstrate a way for preventing memory leaks through automated testing.

Read More

Clean iOS Architecture pt.4: Clean Memory Management in Swift with WeakRef

Clean iOS Architecture pt.4: Clean Memory Management in Swift with WeakRef

We must be careful with `weak` properties as they can sometimes damage the design of our systems, especially when crossing module boundaries. In this video, we’d like to share with you a way to avoid retain cycles by using a `WeakRef` type, so there's no need to make your class properties `weak`.

Read More

S01E03: [TDD 🍅 2] Swift @escaping Closures and Retain Cycles

S01E03: [TDD 🍅 2] Swift @escaping Closures and Retain Cycles

In this episode we continue the development of the Flow as we start progressing to next questions. We accomplish this by providing a closure as the answer callback in the Router protocol.

We discuss about the meaning of placing the @escaping instruction in a protocol and we examine our options for dealing with retain cycles and memory management...

Read More