Talking of old school flip book watchOS animations, if you’re still adding hundreds of files to asset catalogs manually then this tool by Harry Jordan is going to save you a lot of time. It’ll take a folder of images and automatically bring them into an asset catalog for you. 💪
Just before reading this post, my professor tore apart my code for repeated logic and not following other coding conventions. Although his critiques were well-founded, I really appreciated reading this post by Harlan Kellaway about situations where it is better to go against “best practices”. Many rules are meant to be broken – under the right circumstances. 👨🎓
So many tvOS apps require pin authentication, but there is no standard view controller for developers to just plug in. This custom class can easily be integrated into your app and accomplish everything you need, without reinventing the wheel. 🔒
I’ve run into this problem myself multiple times – there is an optional string that can be empty when non-nil (such as in UITextFields). Nathan Chan’s answer to this problem is to extend String with a computed property that treats an empty string as nil, which is much more elegant than doing so manually every time.
Unless you have a formal computer science education, you may be hard-pressed to think of the factory design pattern, or how it would apply to real-life situations. In this post, John Sundell goes through an example of decoupling a network request from the state of the network request using this method, which helps to avoid problems down the road.
Studies like this always fascinate me because they aren’t based on the opinions of designers but on cold hard facts. According to the results of this study, flat interfaces tend to make navigating and doing tasks on websites more difficult than their counterparts with 3D button elements. Many of the changes in iOS 11 seem to address this problem, which is great to see.
Once all the major features are implemented and (most of) the bugs are worked out, many developers are happy to release their app to the world. But what if just a few surface-level changes could contribute to more users coming back more often? 🤔 Lisa Zeitlhuber discusses how businesses like Slack and MailChimp successfully connect with users on an emotional level.
What an amazing set of results from this experiment! Users were asked whether they cherished or regretted their time in apps as they left them and the overwhelming trend was towards regret the longer a user spent in an app! Maybe we shouldn’t be trying to keep people using our apps for as long as possible after all. I know I’d rather have a happy user for 1 minute than a regretful one for 10.
Even better than the story is this tweet 😂