Better HN
topnewbestaskshowjobs
Log inSign up

donkuan

2 karma · joined Mar 15, 2011 (15y ago) · 3 submissions

Submissions

comment 15y ago · link · parent

I played with ShareKit for a while and it does include an impressive range of sharing options (and really helped me understand how OAuth works). However I found that the sharing functionality seemed to be tied to a specific visual presentation, which I didn't like. In the end, I decided not to use it because it didn't match the look and feel I wanted for my app.

comment 15y ago · link · parent

That's not really a GData issue. I think GData ClientLogin no longer works for YouTube accounts that are not linked to a Google account. AuthSub or OAuth should still work though.

comment 15y ago · link · parent

The NSURLConnection class is actually pretty high level and does in fact handle things like caching, redirects, errors, etc. for you. I have been using ASIHttpRequest for a while -- it's not bad but can feel quite heavy at times. For future projects, I may roll my own HTTP lib by wrapping NSURLConnection directly. Btw, GCD and blocks in iOS 4 make it super easy to structure your network calls the same way you would in JavaScript with xmlhttprequest and closures, which makes async code much cleaner and easier to write.