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

What's hot

07.1. Android Even Handling
07.1. Android Even Handling07.1. Android Even Handling
07.1. Android Even Handling
Oum Saokosal
 
Google Maps in Android
Google Maps in AndroidGoogle Maps in Android
Google Maps in Android
Mobile 2.0 Europe
 
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
Dhananjay Kumar
 
Hierarchy viewer
Hierarchy viewerHierarchy viewer
Hierarchy viewer
Badrinath Kulkarni
 
開発を加速させるRetty式チーム開発術 Reloaded
開発を加速させるRetty式チーム開発術 Reloaded開発を加速させるRetty式チーム開発術 Reloaded
開発を加速させるRetty式チーム開発術 Reloaded
Yoichiro 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 applications
Caridy Patino
 
PhotoFlipCardView
PhotoFlipCardViewPhotoFlipCardView
PhotoFlipCardView
Katsumi Kishikawa
 
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
 
Firefox OS App Development
Firefox OS App DevelopmentFirefox OS App Development
Firefox OS App Development
Towhidul Haque Roni
 
06. Android Basic Widget and Container
06. Android Basic Widget and Container06. Android Basic Widget and Container
06. Android Basic Widget and Container
Oum 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 YUI
Morgan Cheng
 
Resume
ResumeResume
Uncovering Secrets of Progressive Web Apps
Uncovering Secrets of Progressive Web AppsUncovering Secrets of Progressive Web Apps
Uncovering Secrets of Progressive Web Apps
Maximiliano Firtman
 
Facebook API for iOS
Facebook API for iOSFacebook API for iOS
Facebook API for iOS
Hidetoshi Mori
 
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 Controllers
Bob 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 basics
kenshin03
 
04 objective-c session 4
04  objective-c session 404  objective-c session 4
04 objective-c session 4
Amr Elghadban (AmrAngry)
 
First Steps in iOS Development
First Steps in iOS DevelopmentFirst Steps in iOS Development
First Steps in iOS Development
Sasha Goldshtein
 
Intro to iOS Application Architecture
Intro to iOS Application ArchitectureIntro to iOS Application Architecture
Intro to iOS Application Architecture
Make 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 Modules
Axway Appcelerator
 
Storyboard
StoryboardStoryboard
Storyboard
niteshmeshram
 
Three Hello Worlds
Three Hello WorldsThree Hello Worlds
Three Hello Worlds
John Wilker
 
Basic Introduction Flutter Framework.pdf
Basic Introduction Flutter Framework.pdfBasic Introduction Flutter Framework.pdf
Basic Introduction Flutter Framework.pdf
PhanithLIM
 
[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
 
Dojo tutorial
Dojo tutorialDojo tutorial
Dojo tutorial
Girish Srivastava
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outlets
veeracynixit
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outlets
veeracynixit
 
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
Lohith 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 applications
Matteo Manchi
 
Create your First Watchkit App
Create your First Watchkit AppCreate your First Watchkit App
Create your First Watchkit App
Pawan 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 1
huyzing
 
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
 
Basic Introduction Flutter Framework.pdf
Basic Introduction Flutter Framework.pdfBasic Introduction Flutter Framework.pdf
Basic Introduction Flutter Framework.pdf
 
[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
 

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