Deep Dive Into Macros Swift 5.9 (WWDC23) introduced Macros to make your codebase more expressive and easier to read. In this article, I'll go over why swift macros exist, how they work and how you can easily set up one of your own.
What the **** is an @escaping closure in Swift It's a fundamental question in every Apple Developer tech interview. What is the main difference between closures marked with @escaping and non-escaping closures? In this article, I'll go over the fundamentals of this question so you can better understand the how and why of using @escaping.
How to Implement Pagination in iOS Hello everyone! In this article, I'm going to go over how you can easily set up pagination on your iOS app. What is Pagination When requesting an API you may receive a lot of data that you don't necessarily need to show at that moment. Why
How to Implement TDD on Existing Code "Yeah TDD is great but it doesn't work in real life." 🙄 If I had a penny for every time I heard a similar comment during my career as an iOS Developer I would be rich! In this article, I'll go over how it is
Struct vs Class: Which One Do I Need? It's an age-old question that is asked frequently in iOS interviews, what is the difference between a class and a struct? In this article I'll go over the two and how they work in memory so you can gain complete knowledge about the topic. Before starting,
Modular Components in Swift UI using TCA With TCA it's possible to create small and easy-to-maintain components that can be used through an app seamlessly. Modularity Before we start talking about TCA it's important to reflect on what is modularity. By implementing modular design we subdivide a system into smaller parts which can
What the **** is a Memory Leak?! In any software environment, it's very common to talk about memory leaks, according to NetGuru, a memory leak is a block of memory that was allocated at some point in time but for some reason, was never released and is no longer being referenced in the app [1]
Stub vs Spy vs Mock: Aren't they all just the same thing? When implementing tests you may have needed to use some sort of test doubling. In this article, I want to briefly talk about the differences between the concepts of mock, spy and stub, and how and when to use them. Let's start with the most commonly heard concept:
Setup GitHub Actions on Your iOS Project Introduction With the introduction of Github Actions it's now easier than ever to implement CI on your project. You can even use the latest version of iOS on the free tier! In this post we're going to go briefly through the setup and you can visit
Fix Github Actions Error on XCode 14 If you're using Github Actions with XCode 14, you probably need to make some changes to your project to avoid getting errors on your pipeline. Especially if the Xcode version you're using is different than the one that the pipeline uses (in my case I was