Turning ideas into working code

Swift, SwiftUI, AI, and web development — things I've learned, patterns I like, and problems I've solved.

Swift

Building a File System with the Composite Design Pattern

Explore how to create a file system using the Composite Design Pattern in Swift, allowing for scalable and efficient file management.

Jun 20, 2023
Swift

Separate Abstraction from Implementation with the Bridge Design Pattern

Discover how the Bridge Design Pattern in Swift allows you to separate abstraction from implementation for scalable and flexible code.

Jun 15, 2023
Swift

Bridge the Gap: Adapter Design Pattern in Swift

Learn how the Adapter Design Pattern in Swift helps bridge the gap between incompatible interfaces, making integration seamless.

Jun 12, 2023
Swift

Singleton Design Pattern: Ensuring Only One Instance of an Object Exists

Discover how the Singleton Design Pattern maintains a single instance of a class, focusing on its implementation in Swift.

Jun 1, 2023
Swift

Document Creation Workflow with the Abstract Factory Design Pattern

Explore how the Abstract Factory Design Pattern can streamline document creation workflows in Swift.

May 28, 2023
Swift

Simplifying Object Creation with the Factory Method Pattern

Discover how the Factory Method Pattern streamlines object creation in Swift, enhancing code scalability and maintainability.

May 25, 2023
Swift

Prototype Design Pattern: A Practical Guide to Building a Company Directory

Explore how the Prototype Design Pattern can streamline the creation of a company directory in Swift.

May 24, 2023
Swift

From Crust to Toppings: Using the Builder Design Pattern to Make a Pizza

Explore how the Builder Design Pattern helps construct complex objects like pizza using Swift.

May 23, 2023
Swift

Understanding Design Patterns: Creational, Structural, and Behavioral

Explore the world of design patterns in software development, focusing on creational, structural, and behavioral categories.

May 12, 2023
Swift

Understanding 'associatedtype' in Swift

Explore the role and usage of 'associatedtype' in Swift for creating flexible and reusable code.

May 11, 2023
Swift

Structs or Classes: Which Should You Use in Swift?

Explore the differences between structs and classes in Swift to make informed decisions in your development projects.

May 10, 2023
Swift

Struct vs Class: Understanding the Differences in Swift

Explore the fundamental differences between structs and classes in Swift and their implications for your code design.

May 9, 2023