In a world where answers are everywhere, thinking is becoming a lost skill. Mindstorm: The Idea Generator App That Trains You to Think Better In a world where answers are everywhere, thinking is becoming a lost skill. You can ask ChatGPT anything, search on Google, or scroll endlessly—and you’ll always find answers. But here’s the
Swift Macros are a game-changer in Swift 5.9, bringing powerful metaprogramming capabilities to automate boilerplate code, enhance maintainability, and improve efficiency. In this guide, we’ll explore how Swift macros work, the different types available, and practical examples—such as auto-generating Codable conformance, enforcing thread safety, and logging function calls. Whether you’re looking to streamline your Swift code or unlock new levels of productivity, this post will give you everything you need to master Swift macros. 🚀
Swift provides powerful collection types—Arrays, Sets, and Dictionaries—for storing and managing data efficiently. Understanding their differences is key to writing optimized Swift code. In this guide, we’ll explore their characteristics, how to initialize and modify them, and when to use each. Whether you're working with ordered lists, unique elements, or key-value pairs, this post will help you master Swift collections with clear examples.
Learn how to implement seamless infinite scrolling and pull-to-refresh in your SwiftUI apps using Combine. This step-by-step tutorial Building a Star Wars App with SwiftUI + Combine Part 3 shows you how to enhance your Star Wars character list with modern scrolling behaviors while optimizing network requests. Perfect for Swift developers looking to add professional touches to their iOS applications without complex boilerplate code.
After dealing with pagination in the current implementation (async/await for the network call) I realize that using Combine not only simplifies a lot everything, but creates a wonderful use case to start using Combine as much as we can, so in this post we reborn it as Building a Star Wars App with SwiftUI & Combine.
This is a Work in Progress project that demonstrates the use of modern Swift development principles, including async/await for networking, the use of Dependency Injection with the use of the concept of Composition Root, local asset management, unit testing strategies, the MVVM UI Design Pattern and also shows clean ways of communicating changes to the team with small commits and clear messages.
Do you know how to do TDD? In this video I show how to solve, step by step, the well known FizzBuzz Kata using Swift and Xcode. If you want to know more about the practice of TDD don't miss my other post: What is TDD and How does it work? Hope you enjoy the
If you are looking into the basics on how to Start your Career as an iOS Developer this post is for you! Start to read this simple guide to know where to start.
Since iOS 16 SwiftUI Navigation is much more powerful. Using NavigationStack and combined with the Observation pattern in iOS 17 you can make a really powerful Navigation.
How to simplify your Asynchronous code with Async/Await in Swift. Learn how to modernize your iOS network code by transitioning from old-fashioned completion blocks to the efficient new approach using async/await.
Learn about @Observable macro. How it differs from the old @ObservableObject and how to implement it in the right way.
Take advantage of @State & @Binding in your SwiftUI App. Learn when to use each and why. This is an essential tool for any iOS Developer to master.
When designing user interfaces in SwiftUI, creating layouts that adapt seamlessly across different screen sizes is essential. Geometry Reader is a powerful yet often overlooked tool that helps achieve responsive designs by providing access to a view’s size and position within its container.
Following SOLID Principles allows you to build better software. SOLID is a well known acronym created by Uncle Bob many years ago. It’s a set of rules that will help you understand how good software should be crafted.
What is TDD? Do you know what Test Driven Development is? Let's explore TDD and what are the three stages of it Red – Green – Refactor.