Beginning Twitter in iOS 6 Tutorial

Note from Ray: This is the ninth iOS 6 tutorial in the iOS 6 Feast! In this tutorial, we’re updating one of our older tutorials to iOS 6 so it’s fully up-to-date with the latest features like the new Social Framework in iOS 6. Parts of this tutorial come from Felipe Laso Marsetti‘s “Beginning Social […] By Felipe Laso-Marsetti.

Leave a rating/review
Save for later
Share
You are currently viewing page 3 of 3 of this article. Click here to view the first page.

Where To Go From Here?

Here is an example project with all of the code from the above tutorial.

As you can see it’s very easy to integrate Twitter into your own applications and there is really no reason why you shouldn’t do so.

You could try and experimenting with things a bit, perhaps dynamically setting the initial text of the tweet sheet depending on what tutorial was selected, or even include more images or links within your tweet. You could also create instances of SLComposeViewController for Facebook or Sina Weibo.

Have fun and think of unique ways to incorporate Twitter into your app because your users are going to love it!

If you want to do some more cool stuff with Twitter, Facebook and Sina Weibo, check out our book iOS 6 By Tutorials, where we have another chapter that covers how to use the Accounts and Social Frameworks for full access to the Twitter, Facebook and Sina Weibo APIs. This will allow you to do all sorts of things – such as accessing a user’s Facebook profile, viewing their wall, or getting a user’s Twitter feed.

I hope you enjoyed this tutorial as much as I did. Feel free to post your questions and comments on the forums, I can’t wait what you guys and gals come up with for your next great app! :)


This is a post by iOS Tutorial Team Member Felipe Laso, an iOS developer working at Lextech Global Services.

Contributors

Over 300 content creators. Join our team.