Coder Orangu is working on a travel planner app and encounters a classic problem: How to fetch data from multiple sources and update the UI only after all are ready? The app shows flight deals, ...

From Chaos to Clarity - Using TaskGroup Instead of DispatchGroup

A Case for Non-Copyable Tokens in Swift
Logged Out, Token Still Lives A customer reached out to Coder Orangu with a puzzling issue in the mobile app he had developed. Even after users logged out, the old authentication token was stil...

Swift Opaque Type
Coder Orangu was confused about Swift’s jargons like Opaque Types, Existential Types ,and Type Erasure. After exploring these concepts, he comes here to simplify it for you. But first, let it as...

Swift Dynamic Member Lookup
Since Swift is statically typed, Coder Orangu was missing some of the runtime flexibility offered by Objective-C. While working on a settings screen for an application with numerous fields, he g...

Property Wrappers in Swift - (Must Use Feature)
Coder Orangu often found themselves writing the same repetitive boilerplate code in Swift just to manage variables. Tasks like persistently saving a value or ensuring thread safety when accessin...

Swift ?? (Nil Coalescing) Do's and Don't
Basics Optional is one of the fundamental safety features provided in Swift. It is a container for a value of a particular type. We are using the term container here because it means it may contain...