I just finished a snippet of code for an upcoming 1 day iphonedev project which is very simple. The snippet needs to show the user an add address book contact box, let the user add the contact info and then Dismiss the add contact window to get on with the rest of the app, and of course saving the data into memory.
The code is attached below, and be sure to be watching the NSLog.