What is @testable Annotation in Swift?

how to swift @testable annotation

Hallo velden en bergen, Leo hier. Today we will talk about @testable when testing in Swift. Before diving into Swift per se, let’s briefly discuss another topic. Lately, I’ve been thinking a lot about how we judge other people’s tastes. I’ve seen in several situations when someone says he likes reality shows like Big Brother, […]

How to use the rethrows keyword in Swift?

This is a image of rethrows keyword in Swift how to use

Hallo bananen en druiven, Leo hier. Today we will talk about rethrows keyword in Swift. I’ve been talking a lot about why error handling is a critical component of any robust application. In Swift, this is achieved through a set of keywords like throw, try, catch, and finally, rethrows. We already addressed the first three […]

The Flexible Swift Error Handling

how to do error handling in Swift

Hallo iedereen, Leo hier. Today we will talk about error handling in Swift. Note that the article today is about “Error Handling” not “Error Throwing” and that distinction is important because Swift is on the verge of having a really good error-throwing feature. While we wait until at least 2024 fall we will study the […]

Unavailable Functions In Swift

how to create unavailability in Swift the image depicts that Swift Programming language is doing a great job on that feature

Hallo brandweerlieden en softwareontwikkelaars, Leo hier. Happy New Year! Today let’s talk a little bit about unavailable functions in Swift. Winter has arrived and with it the cold. It’s time to be at home, cozy and under the blankets. In my homeland, however, things during this time of the year were different because it was […]

Mastering the ‘Final’ Keyword in Swift: A Comprehensive Guide for Optimized Coding

how to use final keyword in Swift

Hallo jurken en jassen, Leo hier. Today we will talk about a very basic concept in Swift, the final keyword. So keep in mind that this will be a very beginner-friendly article. In the dynamic world of Swift programming, understanding and effectively using language-specific features is key to writing efficient, robust, and maintainable code. One […]

Conquering the Climbing Stairs Challenge with Swift: A Dynamic Programming Approach

how to solve leetcode Climbing Stairs Problem in Swift

Hello, Swift enthusiasts and coding aficionados! Today, we’re diving into an exciting journey through the world of dynamic programming, as we tackle a popular problem from LeetCode: the “Climbing Stairs” challenge. This fun yet challenging problem is a fantastic opportunity to explore the principles of dynamic programming and how it can be elegantly applied in […]

Unit Test Expected Failures in Swift

Hallo jassen en jurken, Leo hier. Today we will explore how to create expected failures in unit tests using pure Swift. I posted two questions on my LinkedIn about soft and hard skills. I’m opinionated about this matter and I wanted to hear from the community what your thoughts are. I know that some people […]

Swift Metatypes: What They Are and Why You Should Care

Swift MetaType Tutorial. What are metatypes in Swift? How to use metatypes in swift? Step-by-step guide metatypes in Swift.

Hallo allemaal, Leo hier. Today we will talk about a not-so-known Swift language topic which is Swift Metatypes. Have you ever declared a variable or constant in Swift and wondered what the .self or .Type keywords were all about? If so, you’ve stumbled upon the concept of metatypes in Swift. But what exactly are metatypes […]

iOS Architecture Essentials: Choosing Between Closures and Protocols

tutorial on how to chose between protocol or closures in Swift programming language

Hallo muren en plafonds, leo hier. Today we will think about the architectural decision of using closures and protocols for your types. We’re diving head-first into the riveting world of design decisions. More specifically, we’ll discuss and compare two primary approaches to injecting behavior into your types: Closures and Protocols. Lately, I’m more to the […]

The One Swift 5.9 Feature to Start Using Now

learn the news to swift 5.9 version today!

Hallo allemaal, Leo hier. Today we will talk about one feature of the new Swift 5.9 that you can start to use now. Before we start talking about code I need to say one word or two about the last events in my life. First I was vacationing for 3 weeks in Brazil and I […]

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.