Swift

Swift - Powerful Yet Overlooked Functions for problem solving -- Part 1
Swift - Powerful Yet …

Swift is known for its simplicity and expressive syntax, but some incredibly powerful functions often go unnoticed. These lesser-known built-in functions can help solve common programming challenges more efficiently, making your code more readable, concise, and performant.

let’s explore a set …

Getting Started with Diffable Data Source
Getting Started with …

Diffable Data Source is a new declarative API for UITableView and its counterpart UICollectionView introduced at WWDC19, IOS 13 as a replacement for UITableViewDataSource and UICollectionViewDataSource.

In this article we will take a brief look at UITableViewDataSource then we will go directly to …

Introduction to Function Builders in Swift
Introduction to Function …

Function builders is a swift language feature, first introduced in swift 5.1 available from Xcode 11. it helps in building declarative DSL ( Domain Specific Language ) for constructing user interface hierarchies or create an API that apply transformations to the statements in a way that make the API …

From ASCII to Emoji: The Story of String Encoding in Swift
From ASCII to Emoji: The …

Every String you type in Xcode has a long, messy and surprisingly human story behind it. By the end of this article you will know why "😀".count is 1, but "😀".utf8.count is 4, and how we got there: from a 7-bit table in 1963 to emoji today.

Let’s follow that story and see …