×

HELLO, MY
NAME IS MARTIN
AND THIS IS
MY BLOG

Distributing views evenly in Interface Builder

Posted on

Having horizontal buttons that fill the whole width of a screen is a common thing in any layout. I found many examples where people created categories for UIView, which is the way to go if you are not using interface builder and/or have a dynamic number of views. In that case, I would recommend using […]

Read more

Testing delegate methods with Specta, Expecta and OCMockito

Posted on

If you are an Objective-C developer and you are into unit testing, chances are that you have come across the fantastic Specta/Expecta framework. Together with OCMockito, there is no excuse for not testing every aspect of your classes public interface. This is no introduction to unit testing, so I will not go into detail on […]

Read more

TiShadow – a quick guide

Posted on

Titanium speeds up your cross platform development, no question. But whereas Xcode builds and runs your application in the simulator within seconds (sometimes a few seconds more), it often takes minutes to do so with Titanium. This is especially painful when working on the UI, whenever you want to check the adjustments you made, you […]

Read more

Titanium module for zooming & scrolling webviews

Posted on

A few days ago I stumbled over a stackoverflow question. It was about how to set/reset the zoom level of a webview programmatically in Titanium. Although I never needed it before, I thought this was a pretty common thing to do. However, after looking through the docs of both Apple and Titanium, it was clear that such a thing did not exist.

Read more