ylliX - Online Advertising Network

Decorator Pattern Explained: Basics to Advanced

The Decorator Pattern adds new features to objects without changing their core structure. Here’s what you need to know: What it does: Wraps objects with new behaviors How it works: Stacks multiple wrappers for more features Why it matters: Allows flexible, runtime changes without messy subclasses Key components: Component Interface Concrete Component Decorator Abstract Class […]

Advanced Swift, fifth edition

We released the fifth edition of our book Advanced Swift a few days ago. You can buy the ebook on the objc.io site. The hardcover print edition is printed and sold by Amazon (amazon.com, amazon.co.uk, amazon.de). Highlights of the new edition: Fully updated for Swift 5.6 A new Concurrency chapter covering async/await, structured concurrency, and […]

Advanced testing tips in Xcode

In the last couple years, Apple has made some good efforts to improve their testing tools. Today, I’ll walk you through some tips to make sure your test suite run at their best capacity. Project configuration and testing environment If you haven’t added yet some unit tests in your app, the first step is to […]