Paul Hudson

Paul Hudson

@twostraws.bsky.social

I write Swift and write about Swift, but most people prefer my dogs.

5,745 Followers 77 Following 234 Posts Joined Apr 2023
19 hours ago
Preview
Framed – Hacking with Swift+ What can be done with old iPads? Rather than contributing to increasing amounts of e-waste, we can give them a nice lease of life as a digital photo slideshow!

Here's the first Sunday Build with HWS+: Got an old iPad collecting dust? 🖼️ Turn it into a digital photo slideshow app with SwiftData, albums, and adjustable playback speed. #SundayBuild Check it out: www.hackingwithswift.com/plus/live-st...

51 6 2 0
19 hours ago

Seriously, these ideas are ready to ship – don’t say to yourself “I don’t have any ideas” or “I don’t know where to start” because *now is the time* to get out there and make some money on the App Store!

9 0 0 0
19 hours ago

Every Sunday I’m going to post a Sunday Build – a complete app you can build from scratch. Each one includes a full build tutorial with video and finished source code, so follow along and ship something! (And if you don’t want a weekly stream of app ideas, mute #SundayBuild.)

46 1 2 0
2 days ago
How to create static labels with a Text view - a free SwiftUI by Example tutorial Learn Swift coding for iOS with these free tutorials

SwiftUI's humble Text view is the foundation of almost every layout, but there's more to it than just showing a string – reserving space is a great way to keep your layouts consistent! www.hackingwithswift.com/quick-start/...

50 4 1 0
4 days ago

PS: You have *no idea* how many times I've written "Claude Codex" rather than "Claude Code" in the last week 💀 (I have read, re-read, and re-re-read each repository countless times, and yet it's only a matter of time until someone spots the first comedy mistake.)

4 0 1 0
4 days ago

As you might imagine, getting all this done took a huge amount of work, and it's all free to benefit the Apple development community. If it's useful to you, please share with others. Thank you! 🙇‍♂️

9 0 2 0
4 days ago

In there I show you exactly how to use the skills today no matter whether you're using Xcode, Codex, or something else; I show you how to find great iOS/Swift skills *and* how to check their quality; and also explain what makes agent skills and AGENTS.md different. It's packed!

3 0 1 0
4 days ago
Preview
How to install and use AI agent skills in Xcode Get agent skills for Swift, SwiftUI, Swift Testing, and more

Or maybe you're thinking, "great, but how do I use these with Xcode?" Boom: I've got that covered too, with a new article and YouTube video. Get them here: www.hackingwithswift.com/articles/283...

4 1 1 0
4 days ago
Preview
GitHub - twostraws/Swift-Agent-Skills: A curated directory of open-source AI agent skills for Swift and Apple platform development. A curated directory of open-source AI agent skills for Swift and Apple platform development. - twostraws/Swift-Agent-Skills

Now, you're probably thinking "this is great! But how would I have known about these if you hadn't told me?" Well, I'm also releasing a new GitHub repository curating agent skills for Swift developers – SwiftUI, SwiftData, accessibility, ASO, and more. github.com/twostraws/Sw...

7 1 2 0
4 days ago
Preview
GitHub - twostraws/Swift-Testing-Agent-Skill: Swift Testing agent skill for Claude Code, Codex, and other AI tools. Swift Testing agent skill for Claude Code, Codex, and other AI tools. - twostraws/Swift-Testing-Agent-Skill

Last but not least is Swift Testing Pro: an agent skill that helps AI coding tools write better tests using Swift Testing. Covers the Test macro, #expect and #require, parameterized testing, confirmations, exit tests, and more. github.com/twostraws/Sw...

5 0 1 0
4 days ago
Preview
GitHub - twostraws/SwiftData-Agent-Skill: SwiftData agent skill for Claude Code, Codex, and other AI tools. SwiftData agent skill for Claude Code, Codex, and other AI tools. - twostraws/SwiftData-Agent-Skill

Next up is SwiftData Pro: an agent skill that helps AI coding tools write better SwiftData code. Covers Model, Query, predicates, indexes, migrations, relationships, iCloud sync, and lots of sharp edges. Works with all agents out of the box. github.com/twostraws/Sw...

6 0 1 0
4 days ago
Preview
GitHub - twostraws/Swift-Concurrency-Agent-Skill: Swift Concurrency agent skill for Claude Code, Codex, and other AI tools. Swift Concurrency agent skill for Claude Code, Codex, and other AI tools. - twostraws/Swift-Concurrency-Agent-Skill

Today I'm pleased to announce three new agent skills that will power up agentic coding for app developers, all available now.

First up is Swift Concurrency Pro, designed to help you get maximum performance from your code *without* fighting the compiler. github.com/twostraws/sw...

7 1 1 0
4 days ago
Preview
GitHub - twostraws/SwiftUI-Agent-Skill: SwiftUI agent skill for Claude Code, Codex, and other AI tools. SwiftUI agent skill for Claude Code, Codex, and other AI tools. - twostraws/SwiftUI-Agent-Skill

Last week I released SwiftUI Pro, a free and open-source agent skill to help everyone write better SwiftUI code using agents such as Codex and Claude. It's already at 1800 stars on GitHub and rising, but it was just the beginning. github.com/twostraws/Sw...

40 5 2 0
6 days ago
Preview
GitHub - twostraws/SwiftUI-Agent-Skill: SwiftUI agent skill for Claude Code, Codex, and other AI tools. SwiftUI agent skill for Claude Code, Codex, and other AI tools. - twostraws/SwiftUI-Agent-Skill

A new CLI skill to automatically review your SwiftUI codebase for accessibility and best practices. by @twostraws.bsky.social

github.com/twostraws/S...

6 2 1 0
1 week ago

They do have a huge scope of things to cover; I don’t envy them.

2 0 0 0
1 week ago

I’m glad to hear it!

0 0 0 0
1 week ago

Thank you! I appreciate you 🙌

1 0 0 0
1 week ago

Apple has documented it, just not particularly well. I'm on the case!

2 0 1 0
1 week ago
Preview
GitHub - twostraws/SwiftUI-Agent-Skill: SwiftUI agent skill for Claude Code, Codex, and other AI tools. SwiftUI agent skill for Claude Code, Codex, and other AI tools. - twostraws/SwiftUI-Agent-Skill

My SwiftUI agent skill has now passed 1,000 GitHub stars in just two days – I appreciate you all so much! 🙇‍♂️ So many people have replied to say it has already helped Codex, Claude Code, and other agents find and fix problems in just a few minutes. github.com/twostraws/sw...

54 3 5 1
1 week ago
Preview
GitHub - twostraws/SwiftUI-Agent-Skill: SwiftUI agent skill for Claude Code, Codex, and other AI tools. SwiftUI agent skill for Claude Code, Codex, and other AI tools. - twostraws/SwiftUI-Agent-Skill

My new SwiftUI agent skill passed 500 stars on GitHub in a single day 🤯 Thank you so much for your support – every star is encouragement for me to keep going and keep improving 🙌 github.com/twostraws/sw...

56 5 1 0
1 month ago
Preview
How to build apps with AI: Xcode, Claude, Codex, and more! YouTube video by Paul Hudson

This Saturday I'm running a YouTube live stream specifically on how to build iOS apps with AI. We'll look at Xcode 26.3, plus Claude Code, Codex, Gemini, agents files and skills, and more. It's going to be packed! Set a reminder here: youtube.com/live/sc6pvW6...

46 11 13 3
1 month ago

I put some older code of mine through AI review today – code that had been in production for maybe four years, happily working away. Uh… yeah, it found more than a couple of issues 🙈

2 1 2 0
1 month ago
Preview
Scramblet - Word Puzzle Game App - App Store Download Scramblet - Word Puzzle Game by Hudson Heavy Industries on the App Store. See screenshots, ratings and reviews, user tips and more games like Scramblet…

I showed my 12-year-old daughter how to chat to Claude using Xcode's Coding Assistant tab, and she spent the next two weeks building a game. It's out now on the App Store, and she's feeling very proud of herself ✨ apps.apple.com/gb/app/scram...

104 11 10 1
2 months ago
Preview
Hacking with Swift+ Subscribe to Hacking with Swift+ and get advanced Swift tutorials to help take your career to the next level.

If you're a Hacking with Swift+ subscriber, make sure you use your subscriber discount link to get an extra 20% off the early access price! www.hackingwithswift.com/plus/discounts

3 0 0 0
2 months ago
The Swift AI Playbook.

🔥 Out now! I just published the first chapter from The Swift AI Playbook, covering Apple's remarkable Foundation Models framework in detail – prompting, streaming, sampling, Generable, custom tools, and more. Make sure and get the early access price! twostraws.gumroad.com/l/swift-ai-p...

25 4 7 0
2 months ago

This is different from other books I've written – tutorials and tips, yes, but it will also be packed with pre-built, self-contained solutions you can apply to your projects in minutes. See a feature you want in your app? Just copy it from my project to yours, and you're done ✨

5 1 0 0
2 months ago
A glowing Hacking with Swift logo on a CPU.

Tomorrow I release the first chapter from my new book, the Swift AI Playbook. It has one goal: to make it easier for everyone to integrate AI into their apps. Whether you’re using Foundation Models, MLX, OpenAI, or just Image Playgrounds, this is a book you will NOT want to miss.

24 5 1 0
3 months ago
Preview
Save up to 50% in the Hacking with Swift Black Friday sale! Save big on our books and bundles.

Last chance to save 50% in the Hacking with Swift Black Friday sale – get all my books and bundles half price, including my all new book Everything but the Code! www.hackingwithswift.com/offers

2 1 0 0
3 months ago
Preview
What to fix in AI-generated Swift code As AI-assisted coding increases in popularity, here are a handful of things I would suggest you look out for – and what to replace them with instead.

Four times in four days I've been asked for advice on working with AI-generated Swift code, so here you go – here's a brief article about dubious code I suggest you watch out for, and what to replace it with instead: www.hackingwithswift.com/articles/281...

34 8 4 2
3 months ago

It's free to download and try the first 10 challenges to see what you think, but brace yourself – it literally teaches you a huge range of core CS skills as you progress, so don't come expecting an easy ride 😎

1 0 0 0