Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Exclusive Pre-Launch Offer: Get 20% Off atgoing-indie.com

Tasks in Swift explained with code examples

Tasks in Swift are part of the concurrency framework introduced at WWDC 2021. A task allows us to create a concurrent environment from a non-concurrent method, calling methods using async/await. When working with tasks for the first time, you might recognize familiarities between dispatch queues and tasks. Both allow dispatching work on a different thread … 

 

Swift in 2021: A Year in Review

One of the best years for Swift is close to reaching its end. Time flies when you’re having fun, and I can tell you that we’ve had enough reason to enjoy developing with Swift this year. Big releases like Xcode Cloud and the new Swift Concurrency changes have set the direction of developing apps in … 

 

Reflection in Swift: How Mirror works

Reflection in Swift allows us to use the Mirror API to inspect and manipulate arbitrary values at runtime. Even though Swift puts a lot of emphasis on static typing, we can get the flexibility to gain more control over types than you might expect. I’ve been planning to explore the Mirror API for a long … 

 

Composition vs. Inheritance: code architecture solutions explained in Swift

Composition and inheritance are both fundamental programming techniques when working in object-oriented programming languages. You’ve likely been using both patterns in your code already, even though you might not know what they mean. Over the past ten years, I’ve often been using inheritance throughout my code. Although using inheritance often worked out fine, I’ve got …