Archive for the ‘iPhone’ Category
Saving file changes to iWorks
What has worked best for me after working with a number of apps is Create a document using Pages.
Share with iWorks.
I can login to iWorks and download as Pages, PDF document type.
I can access the downloaded document using ReaddleDocs and open it back in Pages again.
I can’t find a logical way to share out of iAnnotate other than wifi sharing or uploading to iTunes which seems like more steps than most people will want.
iPad Tips and Tricks
iPAD Applications
http://webworkerdaily.com/2010/06/16/the-ipad-works-thanks-to-these-apps/
Instapaper Pro ($4.99) This is the app to use for grabbing pages for reading later while you still have wireless access. Heck, I have a Wi-Fi + 3G model so I’m very rarely out of network range, but I still use it because of its formatting options and cross-platform compatibility. It’s a joy, and the ability to jump from iPhone to iPad seamlessly with it makes it a must-have for business use.
iPAD FAQ
To register your iPad, connect to your computer and launch iTunes.
How To Add A Nice Background Image To Your Grouped Table View
http://howtomakeiphoneapps.com/2009/03/how-to-add-a-nice-background-image-to-your-grouped-table-view/
What you need to do is create a view with your background image and add that view to your app’s window. Then you must set the table view’s background color to “clearColor”.
Here is how you would do that from the app delegate:
UIView *backgroundView = [[UIView alloc] initWithFrame: window.frame];
backgroundView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"TableViewBackground.png"]];
[window addSubview:backgroundView];
[backgroundView release];
yourTableViewController = [[ATableViewController alloc] initWithStyle:UITableViewStyleGrouped];
yourTableViewController.view.backgroundColor = [UIColor clearColor];
[window addSubview:yourTableViewController.view];
[window makeKeyAndVisible];
yourTableViewController is declared at the top level of the app delegate and ATableViewController is a subclass of UITableViewController that simply displays the rows and sections in the example.

Lessons for the Beginning iPhone Developer
Adhoc Distribution Process
Steps to create an Adhoc Distribution
Apple Developer Connection – iPhone Dev Center – Preparation
http://johnehartzog.com/2009/04/iphone-app-ad-hoc-gotchas/

ABAddressBookRef example
- (void)AddressBookInMotion
{
ABAddressBookRef m_addressbook = ABAddressBookCreate();
if (!m_addressbook) {
NSLog(@”opening address book”);
}
// CFArrayRef people = ABAddressBookCopyArrayOfAllPeople(m_addressbook);
ABRecordRef person = ABPersonCreate();
//ABRecordSetValue(person, kABPersonPrefixProperty, @”Mr.” , nil);
ABRecordSetValue(person, kABPersonFirstNameProperty, @”Jane” , nil);
//ABRecordSetValue(person, kABPersonMiddleNameProperty, @”M.” , nil);
ABRecordSetValue(person, kABPersonLastNameProperty, @”Doe”, nil);
//ABRecordSetValue(person, kABPersonSuffixProperty, @”MD” , nil);
//ABRecordSetValue(person, kABPersonNoteProperty, @”My Company, we help everyone”, nil);
//ABRecordSetValue(person, kABPersonEmailProperty, @”jane.doe@money.com”, nil);
ABAddressBookAddRecord(m_addressbook, person, nil);
ABAddressBookSave(m_addressbook, nil);
CFRelease(person);
CFRelease(m_addressbook);
}


