Swift Toolkit.dev

@swifttoolkit
168 Followers
24 Following
130 Posts
Articles and video tutorials about tooling and server side in Swift
Websitehttps://swifttoolkit.dev
GitHubhttps://github.com/SwiftToolkit
When you finally receive the box swag you’ve been waiting for, from your favorite Swift CLI tool @tuist 🤩

From Flash animations in Brazil to iOS infrastructure at Spotify, in Sweden. Meet @rockbruno the iOS developer behind SwiftRocks.com.

Tune in to hear more about Bazel, the SE-290 proposal, reverse engineering and more!

https://SwiftToolkit.dev/posts/dc-bruno-rocha

Another fun Let's Build post is up!

This time, we're rebuilding, with last week's Terminal Utilities, the famous Matrix Code effect for the Terminal: ⚡ Digital Rain ⚡

https://SwiftToolkit.dev/posts/lb-digital-rain

A little teaser from this week's post 👀🕶️

We've added a new section to the last article, Terminal Utilities Package, thanks to reader feedback by @kattouf observing interruption signals and Terminal size changes.

https://SwiftToolkit.dev/posts/terminal-utilities#bonus-additions-from-reader-feedback

Have you ever wondered how CLI apps can have animations?

Discover the techniques behind them - accessing window size, deleting characters, hiding and showing the cursor - to make more engaging tools!

https://SwiftToolkit.dev/posts/terminal-utilities

🔈🎙️ Our “Swift on Raspberry Pi” post was featured in the latest episode of the @SwiftPackageIndex podcast! Check it out https://castro.fm/episode/Pad8Kv

Thanks @daveverwer and @finestructure for the shout out 🙏🏻

Swift Package Indexing: 54: Pick a test that you know is complicated and start there (38m)

Join us as we chat about the Swift team joining Bluesky and Mastodon, data race safety numbers on Swift Package Index Package pages, Swift on Raspberry Pi, and of course our usual package picks!NewsSwiftlang: Social media expansion to Mastodon and BlueskyBluesky accountMastodon accountLeverage by Matt MassicotteIssue: Ready for Swift 6 false positivesIssue: False positives reported in Sema.NumSwift6Errors via -stats-output-dirhttps://swifttoolkit.dev/posts/r-pi by Natan Rolnik, assisted by Jess…

Did you know that CLI tools can add interaction with the readLine() method?

In this post, we show to use it, and with a bonus: building a property wrapper that can encapsulate the logic and store the returned input.

https://swifttoolkit.dev/posts/cli-question

Supporting Interactive Input in CLI Tools Using Property Wrappers

How to use Property Wrappers to make the readLine() method more reusable in your tools

If you’re at @swiftconnection, don’t miss the SwiftToolkit stickers!

As a follow up of this previous post, we wrote about how to test command line tools, focused on those that run system commands - both with a regular approach, and also using Mockable, a brilliant Swift macro by Kolos Foltányi.

Check it out!

https://swifttoolkit.dev/posts/testing-commands-mockable

Testing Tools with Commands Using Mockable

Explore techniques to test a tool that runs system commands