Archive for July, 2009

iPhone Developer Tips Visitor Stats:
126,691 Pageviews and 94,296 visitors in the past 30 days.



Register to Win a Free Pass to Voices That Matter – iPhone Developers Conference!

I recently announced that Voices That Matter has put together an impressive list of speakers for their upcoming iPhone Developers Conference in Boston, on October 17th and 18th. Don’t miss this opportunity to learn from the best, including: Bill Dudney, Aaron Hillegass, Stephen Kochan and Erica Sadun, among others. Voices That Matter has kindly offered [...]

Announcements

iTunes Icon for Ad-hoc Distributions

Creating an icon for iTunes adhoc / ad-hoc distributions.

Xcode

Voices That Matter – iPhone Developers Conference

I’d like to introduce the latest sponsor of iPhone Developer Tips: Voices That Matter. Voices That Matter are hosting an iPhone Developers Conference in Boston, MA on October 17th and 18th. If you are looking for an opportunity to rub shoulders with iPhone, Cocoa and Mac, authors and experts, don’t miss this event!

Announcements

Remove Shine / Gloss Effect on iPhone Icon

By default, when building an application with Xcode, your icon will have a round beveling of the corners and a shine added over the top of the icon. The icon below shows how this looks: You can override this default by following line to you to the Info.plist file. For example, if you prefer to [...]

General

Getting a Random Number

If you need to generate a random number within your iPhone application, you have to push aside Objective-C, as there is not a class with a method for generating random numbers (as in Java). The alternative is to use C, among the functions available are: rand(), srand(), random(), srandom() and arc4random(). arc4random() tends to be [...]

C

Dial a Phone Number – So Many Options

I am aware of three ways to dial a phone number from within an iPhone. The first was shared by Rodney in October of 2008: Launching Other Apps within an iPhone Application. As mentioned in the above post, the UIApplication class offers a method to dial a phone number: 1 2 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://18004664411"]];

User Interface

Animated Gif – Animated Images – iPhone Style

Using animated gif and animated images with the iPhone SDK.

Graphics

Creating Info Button and Increasing Touch Area

The info button offers a familiar symbol for prompting the user to request more information. This is a common button used for “About” screens. The iPhone SDK includes a specific button type for creating an info button, in both dark and light versions, which allows the button to appear over most backgrounds. Creating an info [...]

User Interface

Set Status Bar Color and Background

Okay, so the title of the post is a little misleading. You only have two color choices for the status bar, UIStatusBarStyleDefault (gray) and UIStatusBarStyleBlackOpaque (black). However, there is a status bar style that offers a range of flexibility to set a color or background image. Read on…

User Interface

Date Formatter Examples – Take 4: Setting Locale

A reader recently wrote and asked how to show a date output in a different language. By default, the NSDateFormatter will use the locale set on the device, so no code specific locale changes are required if you want your app to display in the current locale. However, if you need to display a date [...]

Cocoa, Date and Time