Category Archives: iPhone Programming

iPhone Programming: Loading files – PDFs, PPTs, Spreadsheets

In this tutorial I teach you how to load a number of files into your application. These include PDFs, Spreadsheets and Powerpoints. Main Code: NSString *filePath = [[NSBundle mainBundle] pathForResource:@”Test_PDF” ofType:@”pdf”]; url = [NSURL fileURLWithPath:filePath]; [webView loadRequest:[NSURLRequest requestWithURL:url]]; For a UITableView: In RootViewController: -(void) makeData { sections = [[NSMutableArray alloc] init]; pdfs = [[NSMutableArray alloc]  Read more »

May 18, 2012 Posted by: Permalink

iPhone 4 Case Program

iPhone 4 Case Program Image by makipapa

May 15, 2012 Posted by: Permalink

iPhone Programming – UIImageView Collison

A tutorial teaching you how to detect image collision and do something about it. Useful for Game Apps. Main Code Used: -(void)ifCollided { if (CGRectIntersectsRect(image.frame, collisionImage.frame)) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@”Collided” message:@”You have collided with another image” delegate:self cancelButtonTitle:@”Reset” otherButtonTitles:@”Ok” ,nil]; [alert show]; [alert release]; } } -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)index { if (index  Read more »

May 11, 2012 Posted by: Permalink

Learning iPhone Programming: From Xcode to App Store

Learning iPhone Programming: From Xcode to App Store Get the hands-on experience you need to program for the iPhone and iPod Touch. With this easy-to-follow guide, you’ll build several sample applications by learning how to use Xcode tools, the Objective-C programming language, and the core frameworks. Before you know it, you’ll not only have the  Read more »

May 9, 2012 Posted by: Permalink

My iPhone apps as of February 2010

My iPhone apps as of February 2010 Image by dougbelshaw A montage of iPhone apps I currently use, with notes and links!

May 5, 2012 Posted by: Permalink

[45/365] Installing iPhone 3.0 Beta

[45/365] Installing iPhone 3.0 Beta Image by Ben Dodson Today was the big announcement of the iPhone 3.0 Software Update and what an announcement it turned out to be! A small selection of the updates that are available is as follows: * UPDATED: Support for Internet Tethering (see my photo / installation instructions) * Copy  Read more »

May 3, 2012 Posted by: Permalink

iphone

iphone Image by rustybrick What Websites and Programs Do I Use to Get Things Done….

May 1, 2012 Posted by: Permalink

iPhone Programming – Making Sounds and Vibrations (Method 1)

A Tutorial on The AudioToolkit framework. Teaching you how to play a sound and make a vibration. Main Code: -(IBAction)playSound:(id)sender { SystemSoundID soundID; NSString *soundFile = [[NSBundle mainBundle] pathForResource:@”YOUR SOUND NAME” ofType:@”YOUR SOUND FILE EXTENSION”]; AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:soundFile], &soundID); AudioServicesPlaySystemSound(soundID); AudioServicesPlaySystemSound (kSystemSoundID_Vibrate); } New Type Of Tutorials: www.youtube.com Next Video: www.youtube.com Freesound: www.freesound.org SoundsXtras: www.soundsxtras.com SoundSnap:  Read more »

April 30, 2012 Posted by: Permalink

iPhone Programming: Reading Plain Text Files into your app.

A tutorial teaching you how to read text form an external plain text file and put it into a UITextView IMPORTANT: IT MUST BE A PLAIN .TXT FILE. If your textEdit will not allow you to save as .txt and says it must be a .rtf or .txt.rtf go to this link to change your  Read more »

April 28, 2012 Posted by: Permalink

iPhone 4 Case Program

iPhone 4 Case Program Image by infilmity

April 26, 2012 Posted by: Permalink