×

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

Using the native iOS facebook login with Titanium

Posted on

Since the introduction of iOS 6, facebook has been integrated deeply . If you setup facebook via iOS, you can leverage native dialogs and logins without needing to switch to the facebook app, a mobile web interface of html overlays. Too meet these new standards, Appcelerator have introduced an all new facebook module, with the […]

Read more