Leo Dion's Avatar

Leo Dion

@leogdion.bsky.social

Hey everybody! I'm an independent Swift developer. My company is https://brightdigit.com I also have a Youtube channel and podcast on Swift development. When I'm not doing development, presenting, or recording; I'm with my 6 kids.

205 Followers  |  81 Following  |  186 Posts  |  Joined: 01.12.2024  |  1.7015

Latest posts by leogdion.bsky.social on Bluesky


Preview
Rebuilding MistKit πŸ”§ CloudKit + Claude Code Journey through rebuilding MistKit: from CloudKit docs to modern Swift with Claude Code.

How did I rebuild my REST API CloudKit Swift Package using Claude Code?

30.12.2025 12:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Got the Family #DonkeyKongBananza and we've been playing a ton. It's a really good game but the resemblance to Super Mario Odyssey is so striking. The dialogue, the collecting, the bosses...
No wonder it's by the same team.

30.12.2025 12:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Is anyone else having issues setting a timer with Siri lately? It keeps cutting off part of what I say from "Set a timer for 3 minutes" to "Set a timer for 3" (pm).

29.12.2025 14:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

9yo taking crack at the new Robot Master Design Contest
x.com/leogdion/sta...

29.12.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
The Shape of AI: Jaggedness, Bottlenecks and Salients And why Nano Banana Pro is such a big deal

The Shape of AI: Jaggedness, Bottlenecks and Salients
open.substack.com/pub/oneusefu...

22.12.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Learn from a community of experts - Apple Podcasts for Creators Find insights from today’s top podcasters and get inspired to grow your audience.

Well Deserved! I love this podcast. Congrats @theresthistory.bsky.social
podcasters.apple.com/community?sr...

16.12.2025 14:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Here's a big thank you to the remarkable people who generously imparted their invaluable insights to us: Haozes, Irving Popovetsky, @mecid.bsky.social, @leogdion.bsky.social, Manthan Gupta, @czechboy0.dev, Lazar Otasevic, Brandon Weng, Alex Weng and Corey Davis

15.12.2025 12:27 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Preview
a man in a suit and tie is giving a thank you sign . ALT: a man in a suit and tie is giving a thank you sign .
16.12.2025 13:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Rebuilding MistKit with Claude Code - Real-World Lessons and Collaboration Patterns (Part 2) After building MistKit's type-safe CloudKit client, we put it to the test with real applications. Discover what happened when theory met practiceβ€”the unexpected discoveries, hard-earned lessons, and…

I'm excited to share part two of my guide on MistKit, my CloudKit library for non-Apple platforms like Ubuntu and AWS. This article covers using the library in my projects, Bushel and a new RSS reader, and includes tips for working with Claude Code.
brightdigit.com/tutorials/re...

15.12.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Rebuilding MistKit with Claude Code - From CloudKit Docs to Type-Safe Swift (Part 1) Follow the journey of rebuilding MistKit using Claude Code and swift-openapi-generator. Learn how OpenAPI specifications transformed Apple's CloudKit documentation into a type-safe Swift client, and…

Built together:
βœ… 10,476 lines generated Swift
βœ… 3 auth methods
βœ… Custom polymorphic types
βœ… Clean API over generated code
βœ… 161 tests

Challenges: dynamic types vs static OpenAPI, auth complexity, API ergonomics

Full story:https://brightdigit.com/tutorials/rebuilding-mistkit-claude-code-part-1/

01.12.2025 14:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Solution: swift-openapi-generator (WWDC 2023)

Feed it OpenAPI spec β†’ generates type-safe client code

But CloudKit has no spec, only prose docs from 2016

Claude Code + domain knowledge = complete OpenAPI spec

01.12.2025 14:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

MistKit = Access CloudKit (iCloud storage) from server-side Swift

Use case: iOS app data in iCloud, accessible from Vapor/Lambda backends

Problem: Library stuck in 2021, pre-Swift 6, pre-async/await

01.12.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Rebuilt my server-side CloudKit library (MistKit) using Claude Code

12 months of work β†’ 3 months with AI

Here's how we turned Apple's 2016 REST API docs into modern type-safe Swift 🧡

01.12.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

It’s so beautiful! After a year and half I finished wiring my speakers and Ethernet! 😭πŸ₯²
Truly a piece of art!

28.11.2025 14:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Here are the 2 tools I use to stay productive every week:
* @BearNotesApp for my daily goals
* @Apple #Numbers for my weekly goals (one week per sheet)
I can't believe I've been doing this for 6 years and still haven't built my own todo app as a replacement. πŸ˜…

04.11.2025 14:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

I am excited to release Bushel 2.3.0 with a new "Glassy" icon and major bug fixes.
mailchi.mp/8b1d66e20337...

03.11.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
β€ŽBushel - Virtual Machines β€ŽNeed to try out old versions of macOS for your software? Want to try a script or piece of software without breaking your Mac? Discover the features of Bushel and step into a world of limitless…

πŸš€ Bushel v2.3.0 is here!

βœ… Critical SwiftData stability fixes
πŸ“Έ Screenshot capture for snapshots (Pro)
πŸ–₯️ Autohide toolbar in full screen (Pro)
πŸ†• Full macOS 26 & Xcode 26 support

Download now from the Mac App Store πŸ”—

31.10.2025 13:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

So I wasn’t planning on buying physical games for the Switch 2 but if I buy something for the kids for Christmas ahead of time it’d have to be right? πŸ€·β€β™‚οΈ

25.10.2025 14:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Hey! It's been a while since I introduced myself. I'm Leo Dion, and I create content about software development in the Apple Space and Swift for Swift developers interested in growth and quirky tech topics. Whether you're new or have been around, I'm glad you're here.

17.10.2025 13:25 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

How many switch case statements do you have before you refactor it into something else like a Dictionary?

14.10.2025 13:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
subscript(_:as:) | Apple Developer Documentation Returns the model for the specified identifier, downcast to the appropriate class.

Is there a use case for this if it crashes when there's no object?
developer.apple.com/documentatio...

07.10.2025 13:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - brightdigit/SyntaxKit: Generate Swift code programmatically with declarative syntax. Generate Swift code programmatically with declarative syntax. - brightdigit/SyntaxKit

Just released SyntaxKit - a declarative DSL for Swift code generation

I went from attempting to train a custom LLM to successfully using Cursor and @anthropic.com's Claude Code for iterative development.

Perfect for anyone building code generation tools.

us12.campaign-archive.com?u=cb3bba007e...

03.10.2025 13:25 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - brightdigit/MistKit: Swift Package for Server-Side and Command-Line Access to CloudKit Web Services Swift Package for Server-Side and Command-Line Access to CloudKit Web Services - brightdigit/MistKit

Just completed a full rewrite of MistKit – my Swift Package for server-side and command-line CloudKit Web Services!

This time I used AI to generate an OpenAPI document for the API, then built abstractions on top. Article coming soon on the rebuild process.

github.com/brightdigit/...

01.10.2025 13:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Building SyntaxKit with AI: A Developer's Journey Follow the journey of building SyntaxKit using AI tools like Cursor and Claude. Learn practical lessons about AI-assisted development, from failed LLM approaches to successful iterative workflows,…

I decided to use the LLM tools out there to simplify and abstract SwiftSyntax and build a DSL for creating code templates and Macros. It was an interesting experience to say the least and glimpse into the possibilities of these tools and their limitations.
brightdigit.com/tutorials/sy...

30.09.2025 13:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Bought an EV and then I realized…
We should design the colors for iPhone Pros

25.09.2025 16:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Working on a developer conference talk about AI adoption journeys.

The theme: most of us went from "this is overhyped" to "oh no, p-doom" to "actually, this is pretty useful for specific things."

How do we maintain healthy skepticism while embracing useful tools?

Anyone else speaking about AI?

24.09.2025 13:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

My current AI development workflow:

β€’ Claude Code for project-level management
β€’ Cursor for focused iterations
β€’ Regular human code reviews (AI makes mistakes)
β€’ Clear constraints and examples

What's yours? Where do you see it fall short? Where do you need to step in?

23.09.2025 13:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I've lived through: 3D printing, VR "this time it's different", crypto, self-driving cars "next year"
AI feels different because the tools actually work TODAY. Not perfect, but useful.
The question isn't "will AI take over?" It's "how do I use these effectively?"

22.09.2025 13:28 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Introducing swift-build: Zero-Config Swift CI/CD New GitHub Action eliminates Swift CI/CD complexity. Test Linux, iOS, watchOS, tvOS, visionOS with zero config. 65-85% build time reduction.

Just published BrightDigit Newsletter Issue #114!

This week I'm sharing swift-build - a GitHub Action I built after getting tired of copying the same complex Swift CI/CD configurations across every project.

Zero-config testing across all platforms.
mailchi.mp/1c8d2d69bca8...

16.09.2025 13:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Let's give a big hand to those remarkable people who selflessly shared their precious insights with us: Jared Sinclair, @donnywals.bsky.social , Kyrylo Hanichev, Kyle Ye, Mikhail Isaev, Mathis Gaignet, @leogdion.bsky.social and Darren Ford

15.09.2025 12:16 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@leogdion is following 20 prominent accounts