iPhone Keychain RESTful services
Well I’m glad to say my iPhone app is finally moving in the right direction, I’m finding stackoverflow to be a goldmine of pointers and code snippets and well explained! Also during my rummaging I discovered that WordPress actually make their iPhone app source code available for you to download and play with, I think this is very helpful for newbies that are interested in finding how everyone else programs a full app (one accepted and shipping on the store!).
Keychains, this seems to be the way to go on the iPhone for storing users usernames and passwords securely, thankfully there is a class already to use without too much work from me, so I’ve implemented this in my code and so far so good!
http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code
This site also helped point me in the right direction http://discussions.apple.com/thread.jspa?threadID=1536386
So now I have my loginViewController with a login form ready for my user to enter their details and also have the means for the values they enter to be stored securely and accessed by the app later on, so the next bit is validating their input with the website via some service. The iPhone SDK seems to have some nice easy methods for calling webservices and making use of them in the app. So I need to start making some webservices from my web app. So now I’m turning my attention away from the iphone app (kinda) and looking at making RESTful services.
First stop is http://blog.garethj.com/2009/02/building-a-restful-web-application-with-php/ – not sure this is any good but its going to be my starting point.
Also looking forward to the Apple announcement, saw a linked pic of the iSlate today…. very nice! Also Google phone could be an interesting idea, but I’m still sticking to the iPhone!