Software Dev

Motion 💓

This -centric open-source animation library looks promising.

👉 Motion on GitHub

Motion

Motion is an animation engine for gesturally-driven user interfaces, animations, and interactions on iOS, macOS, and tvOS.

I’ve been a little skeptical of open-source animation platforms since I had to toss out one app and then another as cocos2d morphed into cocosd2x and broke everything. Damn that x! But still, this looks cool. 👆

Via iOS Dev Weekly.

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

It’s Time for Snapshot Testing

I love the idea of snapshot testing. It’s a simple way to automatically test an app’s UI.

It works like this:

  1. Set the app up in a certain state and take a screenshot. Save the screenshot. 📸
  2. Next time when you run the same test, you compare screenshots. 📷 📸
  3. If something changed unexpectedly, then you know there’s trouble. 💥

Here’s a nice series about how to do it for iOS/ Xcode.

👉 Snapshot Testing. Testing the UI and Beyond (Part 1)

And GitHub: swift-snapshot-testing

The coolest thing is that you actually upload your screenshots in any new pull requests, so you can literally see what the change is all about (“The perfect pull request”). 🤯

Image for post

Via iOS Dev Weekly.