Author: Zev Eisenberg

Testing Phones

XCTest Line by Line

Note: this article is up to date as of Swift 5.0 and Xcode 10.2 XCTest is Apple’s framework for testing code and user interfaces. It provides a variety of methods for testing equality, comparison, and error-throwing. However, the function names can be longer than the test input, making it hard to see what is going […]

Read More

Linear Interpolation and Fading Hairlines

Using linear interpolation code for computer graphics can help make your iOS apps look better. Learn more about linear interpolation and how two point linear interpolation best works for your needs. See examples in a Linear Interpolation case study and learn how you can use it in your own apps.

Read More

Fixing Controls in Scroll Views on iOS

Learn more about UIScrollView. From ScrollView iOS to UIScrollView iOS, discover how our workaround keeps your UI feeling smooth and consistent with the design language of iOS.

Read More

Introducing BonMot 4: Now With Dynamic Type

I wrote BonMot quite by accident. I just wanted to document some typographic tips and tricks that I had learned. NSAttributedString and TextKit are powerful, but they can be impenetrable, and I wanted to shed some light on the situation. However, as I collected my thoughts, I realized that a unified interface for accessing disparate typographic features […]

Read More

Styling Localized Strings with BonMot

Update – November 2016 BonMot, the library mentioned in this post, has received a significant update, and the code samples presented here are no longer valid. Check out the blog post introducing BonMot 4, which includes a link to the migration guide. Original Post: Correct use of localized strings is one of those things, like testing, accessibility, […]

Read More

Smarter Animated Row Deselection on iOS

It’s always a good idea to give your users context: at a glance, they should be able to figure out where they are, how they got there, and how to get back where they were before. One subtle but important way to give these cues is with animated deselection. If you’d like, download the sample […]

Read More

Swift Mistakes I’ve Made – Learning Swift Best Practices

Swift extension is a programming language that developers love to use. Learn more about new Swift extensions, Swift userdefaults and Swift best practices. See real examples of Swift extension properties and, find Swift extension tricks for getting the best results.

Read More

RZAssert – iOS Assert Logging

Wrong assumptions are the bane of every programmer’s existence. Oh, you thought that number was always going to be non-zero? Guess again. What’s that? You never expected that conditional to fail? It just did. You expected that Core Data query to always return exactly one item? Why would you assume that? A great way to […]

Read More

iOS Typography: Stop Saying “No” to Designers

Learn more about iOS Typography. From tracking typography to typography ascenders, discover how you can stop saying “no” to designers who ask you to reproduce advanced typographic effects on iOS.

Read More
Six Flags and Google App Development

Spicing Up Xcode

Learn more about Xcode shortcuts. From Xcode keyboard shortcuts to Xcode tips, discover a few tricks that can greatly speed up your work in Xcode.

Read More