Archive for April, 2010
iOS Developer Tips - Visitor Stats:
|
|
|
Adding an Activity Indicator (Spinner) to Navigation Bar
In addition to the standard buttons that you can place on a navigation bar (UINavigationBar), adding an activity indicator (UIActivityIndicator) can be helpful when you need a standard location to indicate some type of action is underway, for example downloading a file, performing a search… You add an activity indicator through a custom view as [...]
The Basics of Protocols and Delegates
Apple offers a good overview of working with protocols in their Objective-C Programming Reference. However, sometimes a simple working example can go a long ways… Introduction Protocols can be helpful in a number of scenarios, a common usage is to define methods that are to be implemented by other classes. A familiar example is when [...]
Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled
It’s only a matter of time before you’ll find yourself face to face with the dreaded EXC_BAD_ACCESS error message. This message generally occurs when you attempt to access an object that has previously been released. NSZombieEnabled is an environment variable which can be helpful to track down the elusive object causing the problem. With the [...]
iPad: Managing Multiple Launch Images aka Default.png Files
When loading an application on an iPhone or iPad, a launch image can be shown to provide feedback to the user that the application is loading. On the iPhone one Default.png file was adequate, with the iPad one needs to anticipate the device being started in any orientation, including upside down. iPad Launch Image Orientations [...]
Rename an Xcode Project
If you’ve ever attempted to rename an Xcode project you can speak first hand to the pain of getting all the details just right. Good news, it was recently pointed out by a reader in this post: Change Company Name from Within Xcode on a Per Project Basis that there is now a rename feature [...]






