Harald Bregu“Mediator” design pattern in swiftThe Mediator design pattern is a behavioral pattern that allows objects to communicate with each other through a mediator object instead of…Feb 28, 2023Feb 28, 2023
Harald BreguMonostate or “Singleton with a twist” design patternThe Monostate design pattern is a creational pattern that ensures that all instances of a class share the same state, while still allowing…Feb 26, 2023Feb 26, 2023
Harald BreguStrong and Weak References on SwiftHave you heard of strong and weak references? They’re two different types of references in Swift that can impact how your objects are…Feb 25, 2023Feb 25, 2023