amy's lab

October 11, 2009

Keychain Services API

Filed under: Objective-C, iPhone — Tags: , , , — amy @ 46

The GenericKeyChain sample does not run inside the iPhone simulator.  I found out that WordPress for iPhone is using the SFHFKeychainUtils class which can be download from GitHub.   The author has a blog about it.  I wrote a simple iPhone program to test the function and it works great!

October 9, 2009

WordPress for iPhone – Source

Filed under: Objective-C, iPhone — Tags: , , — amy @ 52

The WordPress for iPhone source can be downloaded from subversion.  This page has the instructions.

I downloaded the latest trunk version.  The app is using the Keychain Services API to store account information so that next time, when the app starts, it would automatically login to the blog.  Apple has a sample program called GenericKeychain that uses the Keychain Services API.

I have not looked at the WordPress for iPhone source in detail.  But one thing I noticed was that NSLog is used a lot for debugging purposes.  To prevent those statements from being printed in the release version, I think it is better to do something like this.

October 8, 2009

WordPress for iPhone

Filed under: iPhone — Tags: , — amy @ 40

This post is written using wordpress for iPhone.
wordpress for iPhone

September 20, 2009

iPhone Core Data

Filed under: iPhone — Tags: , — amy @ 04

I am working on an iPhone app that needs data storage.  I could use SQLite, but since Core Data is available in iPhone OS 3.0, I decide to learn it.  Here are some good resources.

Resources:

Apple iPhone Dev Center

Sample Code

iPhone in Action Blog

Blog at WordPress.com.