How API Availability works in the Swift compiler

We use API availability checks all the time, but have you wondered how the Swift compiler handles this? In this article, we’ll take a deep dive on how the #availability condition works, how the Swift compiler is able to know if a specific symbol is availa… Read more

Similar

Swift for Ruby Devs: Optionals

Many times when designing software, we have to deal with the possible absence of a value. This is especially true when working with third party libraries, APIs, databases, or user input. A user may submit a form without filling it out, or we may not get a...

Read more »

The Swift Programming Language: Concurrency

Swift has built-in support for writing asynchronous and parallel code in a structured way. Asynchronous code can be suspended and resumed later, although only one piece of the program executes at a time. Suspending and resuming code in your program lets i... (more…)

Read more »