Category: iOS

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

Linear Interpolation and Fading Hairlines

Linear interpolation is a simple method of finding intermediate values between two endpoints. It has numerous applications in computer graphics, where it is known as lerp, but we are going to use a tidy Swift implementation to add some subtle polish to an iOS app. You can download the source code for the example app […]

Read More

wwdc

WWDC 2016 Rumor Roundup

Apple’s annual Worldwide Developer Conference is just around the corner. It kicks off Monday, June 13th at 10AM with a keynote. The tech industry is buzzing with rumors about potential upgrades to the hardware and software that Apple so fastidiously builds. This means that, here at Raizlabs, we’re getting excited for the announcements to come. […]

Read More

Introducing Anchorage: Readable Auto Layout Code for iOS

Auto Layout is a declarative layout engine introduced in iOS 6 to allow developers to create adaptive UI that looks good on any device. Its release coincided with the arrival of the 4-inch screen, the first with different dimensions since the original iPhone. The importance of an adaptive interface has only increased with the release […]

Read More

Introducing BentoMap

BentoMap was designed to make it easy to store and retrieve a large amount  of map annotation data. It includes the concept of clustered annotations, and uses generics to allow flexible data storage. In order to handle large data sets efficiently, the annotations are stored using quadtrees. BentoMap is freely available under the MIT license […]

Read More

RZAssert Yourself: Supercharge Your Assertions with New Macros from the Fine Folks at Raizlabs

As a codebase grows in size and complexity, every new line of code poses an incremtertally greater risk of breaking existing functionality. For developers working together on a project, the question quickly arises: “how do I not break stuff?” Developers have two core tools at their disposal to mitigate this risk: unit testing and assertions. […]

Read More