Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. System Accounts and Native Twitter AP... > Easy Twitter: Tweet Compose View Con...

Easy Twitter: Tweet Compose View Controller

In the next two sections you’ll use what you’ve learned from the Accounts framework and apply it to interacting with the Twitter REST API through the native Twitter framework. There are two ways you can do this. You can either use the native UITweetComposeViewController, which is a subclass of UIViewController that operates as a drop-in status update view controller, or you can build your own requests using the TWRequest class. The first technique we’ll cover is the tweet compose view controller (Figure 5.5).

Image

Figure 5.5. The tweet compose view controller.


image Note

The following examples require the framework Twitter.framework be linked to your Xcode project and imported to the appropriate header files.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint