I recently completed the beta version of the MySpaceID iPhone SDK. The idea is to create a cocoa library that is easy for iPhone developers to start using when they want to integrate their iPhone applications with MySpaceID.Â
This version of the library comes with support of 3-legged-OAuth, which keeps in tune with MySpace’s devotion to the "Open Stack".Â The 3-legged-OAuth flow requires a redirect to the browser, so your application will go to Safari for authentication.Â Although breaking away from your application does seem rather counterintuitive from a user experience, the good news is after authentication, your app will be fired up once again.Â This is because the SDK takes in your iPhone URL scheme to make a callback after authentication. The other good news is, you will only have to do this one time to associate your user with his MySpaceID.Â This is because the SDK stores the Access Token needed for future requests.
On top of OAuth support, the SDK comes with methods to make calls to the MySpace REST API’s.Â We have full support for all the V1 and V2 endpoints. As more and more API’s get added, we will add more support.
I’ve also added a VERY simple dumb-down sample application with the SDK, just to demonstrate the OAuth flow, and a few API calls.
I have to admit that this is actually my first real cocoa/iPhone project.Â I’ve had a blast picking it up, and I really like the Cocoa Touch framework.Â Coming from a managed and scripting code background, I did have hiccups with memory management, but I got the hang of it eventually.Â I definitely see areas of improvement to the code, and welcome any feedback.