Friday 18 March 2011

iOS: Prettier auto-rotation

A simple Friday iOS coding tip for you:

When your app auto-rotates do you have an unsightly white frame appearing around the edges of your beautifully hand-crafted UI?

The default Xcode UIView-based project template creates a UIWindow with a white background. The white frame on rotation is the background of the UIWindow peeping out behind your UIView subview.

The simple fix to your UI woes: make the UIWindow background clear (either in the XIB file, or just before your call to [window makeKeyAndVisible].

Simples!

Wednesday 16 March 2011

[ios] iOS Development talk slides available

The slides from my popular iOS development talk, last given at BCS Edinburgh are available for you to view on Slideshare.

To view them, follow this link.

Friday 11 March 2011

Writing: Many-festos

The March issue of ACCU's C Vu will be hitting doormats any moment now. It contains the latest installment in my Becoming a Better Programmer column. This one's called Many-festos, and is a slightly irked rant on the proliferation of software development "manifestos" that have sprung up recently, and some of the arguments that have arisen around them.

The PDF version of the magazine will be available for download by ACCU members shortly.