Sponsored Links

Archives

iPhone SDK Tutorial for Creating a Splash Screen

iPhone Tutorial for Creating a Splash Screen
Introduction:

Some people asked me about creating a splash screen in iPhone. So today I am going to write a simple tutorial on creating splash view for your application. I will write another post on good looking splash page as well. Its really a small thing but have a really good [...]

iPhone SDK: How To Test For Network Reachability

From raddonline.com

Check Network Resources Before Use

Using Facebook-connect for iPhone SDK to post stories to Facebook is a great feature to add to your iPhone application. But what happens if the user has no access to the network? If you don’t check the network, the answer is nothing. This leads to user confusion, and it will [...]

How To Add Developer Name to Your iPhone Xcode Project files

Normally when you start a new project this is what you see:

Copyright _ _ MyCompanyName _ _ 2009

Now it is quite easy to add your name automatically every time a new project is started.

Open up the terminal application and copy and paste the following line of code. (make sure you change the “Your Name” text to [...]

How to Create Your First iPhone Application

//

What if you had a nickle for every time you heard: “I have the perfect idea for a great application!“? It’s the buzz on the street. The iPhone has created unprecedented excitement and innovation from people both inside and outside the software development community. Still for those outside the development world, the process is [...]

iPhone UITableView with UINavigationBar tutorial revisited

This tutorial will show you how to populate a table using UITableView, NSMutableArray and Navigation-Based application for iPhone and how to create detail view. Tutorial includes example code, sample project and pictures from Interface Builder.

First thing we need to do is to create a new project, Navigation-based Application and call it for example “MyUITableView”.

Open RootViewController.h and [...]

iPhone SDK – UISlider UITextField UISwitch & UISegmentedControl examples

This is a sample source code (no interface builder file) implementing the one similar to Setting Bundle for UIKit Controls
UISlider, UITextField, UISwitch & UISegmentedControl

main.m Select all

// main.m
// Settings
//

#import <UIKit/UIKit.h>

int main(int argc, char *argv[]) {

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, @”AppDelegate”);
[pool release];
return retVal;
}

AppDelegate.h Select all

// AppDelegate.h
// [...]

iPhone SDK: Preventing the iPhone from sleeping

Nice tutorial from Stormy Prods:

I’ve recently added a “clock radio” alarm feature to some of my iPhone radio apps. As part of this process, I had to figure out a reasonable work-around for Apple’s restriction of not allowing 3rd party apps to run in the background.

Unfortunately, the best that can be done for an app that [...]

iPhone UIAlertView quick tutorial

Creating and showing an alert:

UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@”Really reset?” message:@”Do you really want to reset this game?” delegate:self cancelButtonTitle:@”Cancel” otherButtonTitles:nil] autorelease]; // optional – add more buttons: [alert addButtonWithTitle:@"Yes"]; [alert show];

If you add the UIAlertViewDelegate protocol to your controller, you can also add the following method [...]

Some Very Good iPhone Links and Tutorials

University

Here you’ll find iPhone development courses offered by top universities.

iPhone Application Programming: Learn about programming for the iPhone from Stanford on iTunes. [Stanford]
Introduction to iPhone Application Development: Use this course’s posted slides to get a crash course in iPhone application development. [MIT]

Apple Resources

You can learn about iPhone development straight from the source with these Apple documents.

Getting [...]

Turn on the battery percentage on your iPhone 3GS

// [...]