SlideShare a Scribd company logo
1 of 8
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

What's hot

07.1. Android Even Handling
07.1. Android Even Handling07.1. Android Even Handling
07.1. Android Even HandlingOum Saokosal
 
Netflix hybrid mobile app using kendo ui mobile
Netflix hybrid mobile app using kendo ui mobileNetflix hybrid mobile app using kendo ui mobile
Netflix hybrid mobile app using kendo ui mobileDhananjay Kumar
 
開発を加速させるRetty式チーム開発術 Reloaded
開発を加速させるRetty式チーム開発術 Reloaded開発を加速させるRetty式チーム開発術 Reloaded
開発を加速させるRetty式チーム開発術 ReloadedYoichiro Sakurai
 
FOWA2013: The rise of single page applications
FOWA2013: The rise of single page applicationsFOWA2013: The rise of single page applications
FOWA2013: The rise of single page applicationsCaridy Patino
 
The Wide World Of Google Developer Technologies (STLIC 02-10)
The Wide World Of Google Developer Technologies (STLIC 02-10)The Wide World Of Google Developer Technologies (STLIC 02-10)
The Wide World Of Google Developer Technologies (STLIC 02-10)jasonacooper
 
06. Android Basic Widget and Container
06. Android Basic Widget and Container06. Android Basic Widget and Container
06. Android Basic Widget and ContainerOum Saokosal
 
Training Session 2
Training Session 2 Training Session 2
Training Session 2 Vivek Bhusal
 
Mobile Web on Touch Event and YUI
Mobile Web on Touch Event and YUIMobile Web on Touch Event and YUI
Mobile Web on Touch Event and YUIMorgan Cheng
 
Uncovering Secrets of Progressive Web Apps
Uncovering Secrets of Progressive Web AppsUncovering Secrets of Progressive Web Apps
Uncovering Secrets of Progressive Web AppsMaximiliano Firtman
 
React Native Android. It's easy.
React Native Android. It's easy.React Native Android. It's easy.
React Native Android. It's easy.Cameron Moss
 
Creating Container View Controllers
Creating Container View ControllersCreating Container View Controllers
Creating Container View ControllersBob McCune
 
How to become an android application developer
How to become an android application developerHow to become an android application developer
How to become an android application developerventurehire
 

What's hot (20)

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

Similar to Create twitter-ios-app

iPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basicsiPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basicskenshin03
 
First Steps in iOS Development
First Steps in iOS DevelopmentFirst Steps in iOS Development
First Steps in iOS DevelopmentSasha Goldshtein
 
Intro to iOS Application Architecture
Intro to iOS Application ArchitectureIntro to iOS Application Architecture
Intro to iOS Application ArchitectureMake School
 
Scott Mason: Enhancing the User Interface Using Titanium Modules
Scott Mason: Enhancing the User Interface Using Titanium ModulesScott Mason: Enhancing the User Interface Using Titanium Modules
Scott Mason: Enhancing the User Interface Using Titanium ModulesAxway Appcelerator
 
Three Hello Worlds
Three Hello WorldsThree Hello Worlds
Three Hello WorldsJohn Wilker
 
[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics상훈 지
 
EverNote iOS SDK introduction & practices
EverNote iOS SDK introduction & practices EverNote iOS SDK introduction & practices
EverNote iOS SDK introduction & practices MaoYang Chien
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outletsveeracynixit
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outletsveeracynixit
 
Building android and i os apps with visual studio
Building android and i os apps with visual studioBuilding android and i os apps with visual studio
Building android and i os apps with visual studioLohith Goudagere Nagaraj
 
UIDocumentInteractionController
UIDocumentInteractionControllerUIDocumentInteractionController
UIDocumentInteractionControllerKatsumi Kishikawa
 
React Native for multi-platform mobile applications
React Native for multi-platform mobile applicationsReact Native for multi-platform mobile applications
React Native for multi-platform mobile applicationsMatteo Manchi
 
Create your First Watchkit App
Create your First Watchkit AppCreate your First Watchkit App
Create your First Watchkit AppPawan Ramteke
 
echo-o & iPhone App Dev - BarCamp Saigon 1
echo-o & iPhone App Dev - BarCamp Saigon 1echo-o & iPhone App Dev - BarCamp Saigon 1
echo-o & iPhone App Dev - BarCamp Saigon 1huyzing
 
Develop your first mobile App for iOS and Android
Develop your first mobile App for iOS and AndroidDevelop your first mobile App for iOS and Android
Develop your first mobile App for iOS and Androidralcocer
 
Develop your first mobile App for iOS and Android
Develop your first mobile App for iOS and AndroidDevelop your first mobile App for iOS and Android
Develop your first mobile App for iOS and AndroidRicardo Alcocer
 

Similar to Create twitter-ios-app (20)

iPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basicsiPhone SDK dev sharing - the very basics
iPhone SDK dev sharing - the very basics
 
04 objective-c session 4
04  objective-c session 404  objective-c session 4
04 objective-c session 4
 
First Steps in iOS Development
First Steps in iOS DevelopmentFirst Steps in iOS Development
First Steps in iOS Development
 
Intro to iOS Application Architecture
Intro to iOS Application ArchitectureIntro to iOS Application Architecture
Intro to iOS Application Architecture
 
Scott Mason: Enhancing the User Interface Using Titanium Modules
Scott Mason: Enhancing the User Interface Using Titanium ModulesScott Mason: Enhancing the User Interface Using Titanium Modules
Scott Mason: Enhancing the User Interface Using Titanium Modules
 
Storyboard
StoryboardStoryboard
Storyboard
 
Three Hello Worlds
Three Hello WorldsThree Hello Worlds
Three Hello Worlds
 
[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics[KJ-CODE] UIDynamics
[KJ-CODE] UIDynamics
 
EverNote iOS SDK introduction & practices
EverNote iOS SDK introduction & practices EverNote iOS SDK introduction & practices
EverNote iOS SDK introduction & practices
 
Dojo tutorial
Dojo tutorialDojo tutorial
Dojo tutorial
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outlets
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outlets
 
Building android and i os apps with visual studio
Building android and i os apps with visual studioBuilding android and i os apps with visual studio
Building android and i os apps with visual studio
 
PPT
PPTPPT
PPT
 
UIDocumentInteractionController
UIDocumentInteractionControllerUIDocumentInteractionController
UIDocumentInteractionController
 
React Native for multi-platform mobile applications
React Native for multi-platform mobile applicationsReact Native for multi-platform mobile applications
React Native for multi-platform mobile applications
 
Create your First Watchkit App
Create your First Watchkit AppCreate your First Watchkit App
Create your First Watchkit App
 
echo-o & iPhone App Dev - BarCamp Saigon 1
echo-o & iPhone App Dev - BarCamp Saigon 1echo-o & iPhone App Dev - BarCamp Saigon 1
echo-o & iPhone App Dev - BarCamp Saigon 1
 
Develop your first mobile App for iOS and Android
Develop your first mobile App for iOS and AndroidDevelop your first mobile App for iOS and Android
Develop your first mobile App for iOS and Android
 
Develop your first mobile App for iOS and Android
Develop your first mobile App for iOS and AndroidDevelop your first mobile App for iOS and Android
Develop your first mobile App for iOS and Android
 

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

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n