Tag Archives: iOS
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
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
Control a fridge-opening robot via an iOS app
While at the supermarket today, I couldn’t remember whether we needed to buy meat or not. Suddenly the thought hit me – what if I had a robot that could open the fridge door for me so I could look, … Continue reading
AutoLayout: Interface Builder vs code
I haven’t blogged here for 10 years but now I return … to blog mainly about iOS programming! Or so the plan is. I’ve been an iOS developer on and off for about 5 years now and when AutoLayout first … Continue reading