iOS Beginners: How to Create a Simple Table View App

Using a Table View is a quick and easy way to setup a great-looking, albeit simple, form in iOS. Table views provide a fair amount of free functionality including styling, titles, section groupings and scrolling behaviour.

In this tutorial you will learn how to create a simple form using a static table view.

7 iOS Tips to Help you Avoid Common Memory Mistakes

Apple Memory Management

There is no argument to be had about whether ARC is beneficial. The reduction of boiler-plate memory code, is alone, enough to justify its use. The elimination of issues resulting from objects being incorrectly retained or released also saves developers untold hours debugging weird memory management issues.

However much ARC has simplified matters, issues will still arise if memory management is not adequately understood. These issues commonly fall into two categories, retain cycles and accessing released memory.

Continue reading

Updating the Samsung Galaxy S2 to Jelly Bean

UPDATE: 6th Jan 2013, The Cyanogen team are now building CM 10.1 /Jelly Bean 4.2 in their nightlies. They have also improved their documentation. I recommend using their site for update instructions over this guide.

In a bid to get Google Now goodness on my Samsung Galaxy S2 I have decided to upgrade to Android 4 Jelly Bean . Waiting for Samsung to update anything is about as productive as watching grass grow, so I have opted to install a Cyanogen rom.

CyanogenMod 10 Jelly Bean I have been using Cyanogen roms since their early days with good results. They provide the latest tech, are stable, add a bunch of efficiency improvements and come with some nice UI extras (but luckily not the bloated overlayers that manufacturers sometimes add). I am currently using an old ICS nightly build which has been so good I never felt the need to switch to the release version when it became available.

If you want to update your phone to the latest Jelly Bean goodness read on… be warned, by doing so, you risk bricking you device, voiding your warranty etc etc. Continue reading

Adding Older Simulators to XCode

The straight-forward way to add additional Simulators to XCode is via Preferences. XCode 4.5.1 comes preloaded with iPhone/iPad Simulators for SDK 6.0 and the option to download 5.0 and 5.1.

Xcode Downloads List

However other versions are getting little love. If you need to support clients on older versions of iOS this is a problem. Luckily, adding older Simulators to XCode is easy.

NOTE: XCode 4.5 has dropped armv6 support so can no longer be used to develop for iOS <4.3. Adding armv6 simulators such as iOS 4.2 to XCode 4.5 will have no effect, they will simply be ignored.

Continue reading