Tag Archives: objective c

Road Test: PureLayout

Imagine there’s no translatesAutoresizingMaskIntoConstraints. It’s easy if you try. No constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant: below us, above us only sky. Imagine your app not crashing because you left a “]” out of constraintsWithVisualFormat, woohoo. *Cough* Sorry about that, folks. Let’s move on. I’ve … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

How to animate UISearchBar like in Contacts

Ever seen the animation that occurs when you tap in the search bar in Contacts? The navigation bar slides upwards, the search bar goes up and replaces it, and the Cancel button comes in from the left. Here’s a before and … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment