How to use Fallthrough Keyword in Swift

Hello everyone, Leo here! Today we will learn how to use the Fallthrough keyword in Swift. We’ll explore a not-so-used keyword in swift called Fallthrough. The use case is quite limited but it’s important to know to make your Swift Language Toolbox bigger! No more talking, let’s code. Let’s code!   Problem – Fallthrough Keyword in […]

How to update a view when returning from background

Hello, my fellow developers, Leo here. Today we will learn how to update a view when returning from the background. Today we’ll dive into a problem that I certainly all iOS developers face from time to time and because of apple’s API wording the solution isn’t intuitive as it should be. Let’s explore this edge […]

How to use StaticString in Swift

Hello brothers and sisters, Leo here. Today we’ll look to a struct in Swift called StaticString. It is always good to know what the native APIs can provide to us in terms of capabilities, optimizations, and intentions. StaticString is one of the things that make perfectly clear what are your intentions with your types. This way […]

The basics of Regex in Swift

Hello, my fellow friends, Leo here. Today we’ll see how it can be easy to use regular expressions (RegEx) for pattern matching in Swift. Regex is a very useful tool with you need more advanced pattern matching and it’s crucial to know the basics of the rules. I’ll break the magic here for you all, […]

Algorithms: Number of Islands Problem in Swift

Hello guys and girls, Leo here. Today we’ll solve a leetcode problem called “The Number of Islands” using DFS. I know it’s been a while since we don’t solve any algorithm problem so today we’re continuing the algorithm series. Let’s code! Number of Islands Problem – Using DFS to solve Given a 2d grid map of […]

Trie in Swift, the Autocorrect Structure

Hello ladies and gentlemen, Leo here. Today we’ll study a tree-like data structure called Trie in Swift. It’s a special type of tree and its main use in the modern world is the core of autocorrect(autocomplete) algorithms. Will be a great journey into this amazing data structure. At the end of the article, you’ll know exactly what […]

The Liskov Substitution Principle and Swift

Hello ladies and gentlemen, Leo here. Today’s subject of study is the Liskov Substitution Principle implementation on Swift and why that is important to you as an iOS developer. First, we have to say that the Liskov principle was created by Barbara Liskov. She is an amazing woman who is one of the first women in […]

The Cartesian Plane and iOS Auto Layout

Hello guys, Leo here. Auto Layout is an amazing topic and we will explain how what is its coordinate system. Today we’ll discuss something about auto layout that may confuse many iOS developers and that’s the Auto Layout Cartesian Plane. I bet you were thinking it was just a high school subject, right? Let’s code! […]

async Threading why: understand DispatchGroup is

Hello everyone, Leo here. Today we’ll see a very common problem in computer science, and yes is about asynchronous programming. There’s a lot to explore inside Apple’s GCD framework but today we’ll dive into a class called DispatchGroup and analyse what it can do for us. We will check various examples of DispatchGroup in practice and how […]

The difference between ‘class func’ and ‘static func’ in Swift

Hello, my people, Leo here. Today I learned that you have two ways to declare functions on the class/struct level and it’s using the keywords above and the post today is about the difference between class func and static func. Knowing the difference between those two is very important for any iOS because it has consequences in […]

Join our Newsletter!

From beginner-friendly tutorials to advanced coding techniques, the newsletter is designed to help you level up your skills and stay up-to-date with the latest trends in app development.