SlideShare a Scribd company logo
Creating Twitter iOS
        App
   Yoshioka Tsuneo (@yoshiokatsuneo)
How to create ?
Create project
  Master-Detail application
  storyboard
How to create ?
Use JSON Twitter API

   https://api.twitter.com/1/statuses/public_timeline.json
   (Note! This API is deprecated in Oct/2012 !)

   JSON reply
   [
    {
       “text” : “Hello world !”,
       “user” : {
         “name” : “Yoshioka Tsuneo”,
         “screen_name”: “yoshiokatsuneo”,
         “profile_image_url”: “http://....jpg”,
       }
      }
   ]
How to create ?


Use iOS Social framework

   SLComposeViewController
   SLComposeViewController *viewController = [SLComposeViewController
   composeViewControllerForServiceType:SLServiceTypeTwitter];
   [self presentViewController:viewController animated:YES completion:nil];

   SLRequest / ACAccountStore
Demo
Links
WWDC 2012 Session Videos
“Integration With Facebook, Twitter and Sina Weibo”
(https://developer.apple.com/videos/wwdc/2012/?id=306)

API requests with TWRequest
(https://dev.twitter.com/docs/ios/making-api-requests-
twrequest)

Making a simple Twitter app using iOS 5, Xcode 4.2, and
storyboards
(http://www.codeproject.com/Articles/312325/Making-a-
simple-Twitter-app-using-iOS-5-Xcode-4-2)

gtm-oauth (Google Toolbox for Mac - OAuth Controllers)
(http://code.google.com/p/gtm-oauth/wiki/
Let’s create your own Twitter client !
I’m creating...

More Related Content

PDF
Android vs iOS
PPTX
12. Android Basic Google Map
PDF
JavaScript : One To Many
PDF
レッツ!Google Apps ScriptでTDD(仮)
PPTX
Python Programming Essentials - M15 - References
PPTX
07.4. Android Basic Simple Browser (WebView)
PPTX
Intro to Mobile Development for Web iOS and Android
PPTX
Lightning Talk - Xamarin
Android vs iOS
12. Android Basic Google Map
JavaScript : One To Many
レッツ!Google Apps ScriptでTDD(仮)
Python Programming Essentials - M15 - References
07.4. Android Basic Simple Browser (WebView)
Intro to Mobile Development for Web iOS and Android
Lightning Talk - Xamarin

What's hot (20)

PPTX
07.1. Android Even Handling
PPT
Google Maps in Android
PPTX
Netflix hybrid mobile app using kendo ui mobile
PDF
Hierarchy viewer
PDF
開発を加速させるRetty式チーム開発術 Reloaded
PDF
FOWA2013: The rise of single page applications
KEY
PhotoFlipCardView
PPTX
App Deep Linking
PDF
The Wide World Of Google Developer Technologies (STLIC 02-10)
PPTX
Firefox OS App Development
PPTX
06. Android Basic Widget and Container
PDF
Training Session 2
PPTX
Mobile Web on Touch Event and YUI
PDF
Mojo Reporter Brochure
PDF
PDF
Uncovering Secrets of Progressive Web Apps
PDF
Facebook API for iOS
PDF
React Native Android. It's easy.
PDF
Creating Container View Controllers
PDF
How to become an android application developer
07.1. Android Even Handling
Google Maps in Android
Netflix hybrid mobile app using kendo ui mobile
Hierarchy viewer
開発を加速させるRetty式チーム開発術 Reloaded
FOWA2013: The rise of single page applications
PhotoFlipCardView
App Deep Linking
The Wide World Of Google Developer Technologies (STLIC 02-10)
Firefox OS App Development
06. Android Basic Widget and Container
Training Session 2
Mobile Web on Touch Event and YUI
Mojo Reporter Brochure
Uncovering Secrets of Progressive Web Apps
Facebook API for iOS
React Native Android. It's easy.
Creating Container View Controllers
How to become an android application developer
Ad

Similar to Create twitter-ios-app (20)

PDF
iPhone SDK dev sharing - the very basics
PPTX
04 objective-c session 4
PPT
First Steps in iOS Development
PDF
Intro to iOS Application Architecture
PDF
Scott Mason: Enhancing the User Interface Using Titanium Modules
PDF
Storyboard
PDF
Three Hello Worlds
PDF
Basic Introduction Flutter Framework.pdf
PDF
[KJ-CODE] UIDynamics
PDF
EverNote iOS SDK introduction & practices
PPTX
Dojo tutorial
PDF
Ios actions and outlets
PDF
Ios actions and outlets
PPTX
Building android and i os apps with visual studio
PDF
UIDocumentInteractionController
PDF
React Native for multi-platform mobile applications
PPTX
Create your First Watchkit App
PPT
echo-o & iPhone App Dev - BarCamp Saigon 1
PDF
Develop your first mobile App for iOS and Android
iPhone SDK dev sharing - the very basics
04 objective-c session 4
First Steps in iOS Development
Intro to iOS Application Architecture
Scott Mason: Enhancing the User Interface Using Titanium Modules
Storyboard
Three Hello Worlds
Basic Introduction Flutter Framework.pdf
[KJ-CODE] UIDynamics
EverNote iOS SDK introduction & practices
Dojo tutorial
Ios actions and outlets
Ios actions and outlets
Building android and i os apps with visual studio
UIDocumentInteractionController
React Native for multi-platform mobile applications
Create your First Watchkit App
echo-o & iPhone App Dev - BarCamp Saigon 1
Develop your first mobile App for iOS and Android
Ad

Create twitter-ios-app

  • 1. Creating Twitter iOS App Yoshioka Tsuneo (@yoshiokatsuneo)
  • 2. How to create ? Create project Master-Detail application storyboard
  • 3. How to create ? Use JSON Twitter API https://api.twitter.com/1/statuses/public_timeline.json (Note! This API is deprecated in Oct/2012 !) JSON reply [ { “text” : “Hello world !”, “user” : { “name” : “Yoshioka Tsuneo”, “screen_name”: “yoshiokatsuneo”, “profile_image_url”: “http://....jpg”, } } ]
  • 4. How to create ? Use iOS Social framework SLComposeViewController SLComposeViewController *viewController = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter]; [self presentViewController:viewController animated:YES completion:nil]; SLRequest / ACAccountStore
  • 6. Links WWDC 2012 Session Videos “Integration With Facebook, Twitter and Sina Weibo” (https://developer.apple.com/videos/wwdc/2012/?id=306) API requests with TWRequest (https://dev.twitter.com/docs/ios/making-api-requests- twrequest) Making a simple Twitter app using iOS 5, Xcode 4.2, and storyboards (http://www.codeproject.com/Articles/312325/Making-a- simple-Twitter-app-using-iOS-5-Xcode-4-2) gtm-oauth (Google Toolbox for Mac - OAuth Controllers) (http://code.google.com/p/gtm-oauth/wiki/
  • 7. Let’s create your own Twitter client !

Editor's Notes