ArchivesCategory: Iphone

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

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