Software Dev

The Mac Developer’s Swiss Army Knife

I get so annoyed when I find myself using random websites ๐Ÿคฎ or all different apps ๐Ÿคท๐Ÿปโ€โ™‚๏ธ to do things like format JSON, test regex’s, encode/decode Base64, encode/decode URLs, or convert Unix time strings.

This nifty little Mac app does all the basic things any developer regularly needs natively, locally, and offline. And it’s free if you build it yourself. Or pay for the official build. Up to you.

๐Ÿ‘‰ DevUtils.app – Developer Utilities for macOS

DevUtils.app screenshot

Via iOS Dev Weekly. See also: Mac-assed Mac Appsย ๐Ÿ˜†

Software Dev

Playbook

Developing features for a large, established app, I often run get slowed down trying to throw together a new screen. You have to find the right spot in the code to update, build the whole app (not just what you changed), log in, and drill down to the right spot to try out your creation. Something’s off? Do it all over again.

Which is why I love the idea of the Playbook library, which is “a library that provides a sandbox for building UI components without having to worry about application-specific dependencies.” Yass! ๐ŸคŸ

๐Ÿ‘‰ Playbook on GitHub

Supports both SwiftUI and UIKit.

playbook

Via iOS Dev Weekly.

Software Dev

Apple Thread Utils

Apple has a really nice utility straightforwardly called the Main Thread Checker. It detect uses of APIs on a background thread that really should be on the main thread.

Updating UI on a thread other than the main thread is a common mistake that can result in missed UI updates, visual defects, data corruptions, and crashes.

And someone has put together a page documenting how to configure the Main Thread Checker for your own specific needs. It’s straightforwardly called Configuring the Main Thread Checker.

๐Ÿ‘‰ Configuring the Main Thread Checker

Enjoy getting rid of some flakey code in your app! Via iOS Dev Weekly.

P.S. There’s another utility from Apple called Thread Sanitizer, to “Audit threading issues in your code”. ๐Ÿคท๐Ÿปโ€โ™‚๏ธ

The Scheme Editor's Arguments Tab