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 [...]
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 [...]
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 [...]
//
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 [...]
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 [...]
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
// [...]
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 [...]
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 [...]
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 [...]