Posts

Briefs: Live Wireframes on the iPhone

Image
Briefs is a framework for packaging concept screens & control schemes that run live on the iPhone and iPod Touch. This allows you to experience the feel of your concept without the expense of development. Go to http://giveabrief.com/ for the source code and instruction on getting your application wireframe up and running..

Downgrade iPhone from 4.0 to 3.1.3

An incredibly useful tutorial to downgrade from iPhone 4.0 beta to 3.1.3 http://www.gadgetsdna.com/downgrade-iphone-os-4-0-beta1-to-iphone-os-3-1-3-firmware/2045/

Google MAPS API

Initially when I started with this blog my original aim was to document all the Objective C tricks and tips (TNT) I come along for prosperity. As my programming skills are improving and I am learning how to play with new APIs I think it is also important to log other API TNTs. Some very nice tutorials for bigeners playing with Google Maps API. http://code.google.com/apis/maps/articles/yourfirstmap.html

Time delay in Objective C

[NSThread sleepForTimeInterval:5]; this adds a time delay of 5 secs

AVAudioPlayer

Tutorial: Easy Audio Playback With AVAudioPlayer http://www.mobileorchard.com/easy-audio-playback-with-avaudioplayer/

UIAlert View with UITextField and Controls

Image
Apples philosophy with UIAlert view is to deliver alerts and offer very limited control. There are many hacks on the internet to add a UITextField subview and use its value. The most effective way I found to do this is as follows: Alright, here's the goods. The first thing that you'll want to do is to alloc your UIAlertView and then initWithTitle:message:delegate:cancelButtonTitle: otherButtonTitles: just like normal. Then with all that good stuff done, you use the method addTextFieldWithValue:label:. The value is for initializing some text into the text field. The label is for setting a placeholder. Here's some example code. Code: UIAlertView *myAlert = [[UIAlertView alloc] initWithTitle:@"Alert title" message:@"alert message" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Ok", nil]; [myAlert addTextFieldWithValue:nil label:@" "]; [[myAlert textField] setTextAlignment:UITextAlignmentCenter]; [[myAlert textFie...