Creating Thread-Safe Arrays in Swift

Thread-safety in Swift can be achieved using GCD concurrent queues & barrier flag. Reads would occur in parallel, while writes are given mutual exclusion. Read more

Similar

Swift Error Handling Implementation

Swift's error handling is a unique feature of the language. It looks a lot like exceptions in other languages, but the syntax is not quite the same, and it doesn't quite work the same either. Today I'm going to take a look at how Swift errors work on the ... (more…)

Read more »