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.

creativity · You

Improv Class and Uncharted Territory

A few months ago, I took an improv class. You might think I did it to learn to be funnier. I mean, it did help a little. But mostly it helped my attitude, just being open and ridiculous. I do still have a stockpile of ready-made dad jokes, though.

Improv is not only about laughs. It’s about facing uncharted territory with curiosity, enthusiasm, and fearlessness.

The post below perfectly captures the real reason that I took improv, which is mainly dealing with fears and ambiguity when you can’t sit and think about it for more than, say, two seconds. I’m naturally a sit-and-think-about-it kind of person, so I needed some help on that. πŸ€·πŸ»β€β™‚οΈ

πŸ‘‰ Improv as a Crisis Management Tool: Tackling Uncharted Territory

Cheat sheet from the article… Improv helps with:

  • Helping people build out their ideas even if you don’t agree with or understand them
  • Learning how to make decisions on a shoestring
  • Fearlessness, bravery and getting comfortable with mistakes

By the way, Merlin Works, the same place where I took my improv class, is now offering online Zoom improv classes for the pandemic. If this thing drags on long enough, I might do improv 201 online. πŸ€·πŸ»β€β™‚οΈ

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