Read and Write User Preferences
Reading and writing user preferences within iPhone applications is surprisingly easy given the NSUserDefaults class does most all the work for you. What follows is a short example to show how you can...
View ArticleXcode Keyboard Shortcuts
I’ve always been one to prefer the keyboard over the mouse. It’s fair to say that moving from a command line environment to a GUI was not a quick or painless process. To this day I still do what I can...
View ArticleWorking with Bitfields
Given space is often at a premium when writing applications for mobile devices, I want to show you how to use bitfields to manage a series of values that need only on/off status. The upside is that you...
View ArticleNSNumber and NSInteger
If you’ve ever found yourself scratching your head thinking “now which one should I be using, NSNumber or NSInteger?” the short summary below should help. NSInteger is nothing more than a synonym for...
View ArticleSingle, Double and Triple Taps
If you need to tinker with the threshold (time between clicks) when working with single, double and triple taps on the touch screen, one approach for this follows. What follows is a short example that...
View ArticleUsing Application Badges
Several native applications on the iPhone use application badges as an indicator of new messages, think email and SMS. Creating badges is quite straightforward and is nothing more than a method call,...
View ArticleChange Company Name in Xcode
Although covered many other places on the net, I recently had to make a change to the name that Xcode automagically inserts when creating new files, so I figured I’d also pass on this tip to readers of...
View ArticleXcode Expert Preference Settings
Beyond the settings you can access from the Preferences menu of Xcode, there are a number of configurable options that can be set using the defaults command from a terminal window. Two of the settings...
View ArticleChanging Application Name on Home Screen
By default, the name of the application shown on the iPhone Home screen (below the icon) is the same as the project name. This will suffice in many cases, however, chances are the day will come when...
View ArticleXcode Code Completion
What follows is a quick review of how I use code completion in Xcode. Chances are that options and features exist beyond what I’ll cover here, so comments and suggestions are welcome. Let’s say I want...
View Article