07Aug

So I’ve found quite a few tutorials on writing singleton’s in Objective-C online, however not many of them seem to be completely correct. The key to building a singleton in objective-c is synchronization. If you don’t synchronize your threads then you might as well not build a singleton. Here is how it should be done…Continue Reading

30Apr

I recently got Zend Framework up and running on Media Temple’s grid service. Turns out this isn’t as easy as I originally thought. In order to get it to work properly i needed to add the following to the .htaccess file in the root of my domain directory.Continue Reading

27Mar

Welcome to iphone programming part 2, introduction to views. In this tutorial I’ll go over creating an application from scratch that transitions between 2 different views using the iphone’s built in UINavigationController and the navigation stack. If you haven’t done so already, I suggest reading through my first iphone article. If you already have a basic understanding of how to create an iphone application and hooking up IBOulets and IBActions in interface builder then you can head straight into this article. So let’s jump into it, and as always if you have any questions feel free to leave a comment and I’ll get back to you.Continue Reading

09Mar

I have recently started working on some Iphone games only to discover a spectacular 2D game engine on the iphone called Cocos2D. After reading their very impressive feature list and some blogs on how Cocos2D works, I decided to try it out for myself. Low and behold however that it wasn’t the easiest thing to install manually for iphone development. If you try and install cocos manually, you will run into countless errors and hassles while getting it up and running.Continue Reading