Yet Another Swift Blog
  • Home
  • Tips
  • About

Swift

Master Swift programming language.

Swift

Deep Dive Into Recursion in Swift

What is recursion? How is it implemented? How can it be applied in Swift? Let's answer these questions and study multiple computer science fundamentals along the way.

Vadim Bulavin Vadim Bulavin 4 min read
Swift

Grand Central Dispatch (GCD) Tutorial in Swift 5

Learn how Grand Central Dispatch helps you write better and cleaner asynchronous Swift code.

Vadim Bulavin Vadim Bulavin 5 min read
Swift

The Power of Namespacing in Swift

Learn how to implement namespacing in Swift.

Vadim Bulavin Vadim Bulavin 4 min read
Swift

Missing Guide on Swift Code Style

The goal of Swift code style is to reduce programming complexity by describing good and bad practices of writing Swift code. Let's explore the most prominent coding styles in Swift community.

Vadim Bulavin Vadim Bulavin 7 min read
Swift

Handling Index Out of Range Exception the Swift Way

In this article you will learn how to treat index out of range exception in Swift arrays and other collections.

Vadim Bulavin Vadim Bulavin 2 min read
Swift

Designing Data-Driven UITableViewController

Standard approach to creating table views has a number of drawbacks. To address them let's design a data-driven, reusable and declarative table view component.

Vadim Bulavin Vadim Bulavin 9 min read
Swift

Benchmarking Swift Locking APIs

In this article we'll benchmark most notable Swift locking APIs and suggest best options based on the results.

Vadim Bulavin Vadim Bulavin 2 min read
Swift

Atomic Properties in Swift

In this article let's take a look at different ways of designing atomic properties in Swift.

Vadim Bulavin Vadim Bulavin 5 min read
Swift

Using Initialization with Literals to Design Richer Swift API

Literals are the essential blocks of the code. Let's explore how to implement shorthands for them to make your Swift code more clean and direct.

Vadim Bulavin Vadim Bulavin 5 min read
Swift

Multicast Delegate and Delegates Composition

Delegate is among the most commonly used patterns in Swift apps. Multicast delegate extends the canonical pattern allowing to delegate to more than one object.

Vadim Bulavin Vadim Bulavin 4 min read
Swift

Dynamic Code Injection in Swift

Dynamic code injection in Swift allows to insert custom pieces of code to arbitrary methods non-intrusively. In this article let's see how to transparently inject logging to view controllers.

Vadim Bulavin Vadim Bulavin 3 min read
Swift

Reflection and Mirror in Swift

Although Swift is a statically typed language, there is a secret double life to Swift’s type system at runtime that paves the way to some dynamism.

Vadim Bulavin Vadim Bulavin 5 min read
Swift

Mediator Pattern Case Study

In this article lets implement search history feature using mediator design pattern.

Vadim Bulavin Vadim Bulavin 2 min read
« Newer Posts Page 2 of 2
Yet Another Swift Blog by Vadim Bulavin © 2023.
Latest publications Twitter vadymbulavin@gmail.com