Skip to content

Monthly Archives: May 2009

Apologies for glitches

Apologies if you get any glitches while browsing the blog. I am currently developing a new theme and am running some real life testing. This should only happen for a few days max. I you have any major issues please comment and let me know and I will endeavor to resolve them asap. Thanks for [...]

Fitness test on sale

Fitness test, the iPhone application is now on sale. Thanks :)

Accelerometer setup and usage

To use the accelerometer in an iPhone application you need to add the <UIAccelerometerDelegate> into the .h file of your application: [code lang="c_mac"]@interface ApplicationViewController : UIViewController {[/code] Then in your .m file you must setup the accelerometer: [code lang="c_mac"] - (void)viewDidLoad { UIAccelerometer *accel = [UIAccelerometer sharedAccelerometer]; accel.delegate = self; accel.updateInterval = 1/30; } [/code] [...]