• Like

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
5,368
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
29
Comments
0
Likes
6

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. iPhone #2Web id:ninjinkun
  • 2. id:ninjinkun / @ninjinkun• • iPhone • iPad• Apple ( ) • AppStore OS • Apple
  • 3. • : Twitter• iPhoneWeb ••
  • 4. Twitter • https://github.com/ninjinkun/ TwitterSample • • PublicTimeline • Twitter-OAuth-iPhone • DM •
  • 5. • iPhone
  • 6. iPhone WebWeb • • • •
  • 7. iPhone Web • • • • ViewController
  • 8. iPhone WebEntry+ EntriesController + ViewController + View • • id:Psychs ImageStore Twitter • MVC Model Web
  • 9. iPhone WebEntry+ EntriesController + ViewController + View • Entry • EntriesController ,
  • 10. iPhone WebEntry • WebAPI • TableView Cell 1:1
  • 11. iPhone WebEntry • Dictionary (Hash) • • • : n
  • 12. iPhone WebEntriesController • GET, POST • HTTP Entry • Entry • NSArray • TableView • Entry Array ViewController • Reload, Paging
  • 13. iPhone WebViewController View • View • UITableViewCell • Entry • ViewController • UITableViewController • EntriesController
  • 14. iPhone WebView • Position • Cell • Entry Position • ... • #define CELL_RIGHT_MARGIN 4 #define CELL_LEFT_MARGIN 4 #define CELL_TOP_MARGIN 4 #define CELL_BOTTOM_MARGIN 4 #define CELL_WIDTH 320 #define CELL_MAX_HEIGHT 400
  • 15. iPhone WebViewController • Web API EntriesController • Entry • >< • • DataSource
  • 16. ASIHTTPRequest • OSS HTTP • NSURLRequest + NSURLConnection • • • Cocoa • http://d.hatena.ne.jp/ninjinkun/20101122/1290394265
  • 17. JSON Framework • OSS JSON • • NSString NSArray *rawEntries = [[res responseString] JSONValue]; • • YAJL •
  • 18. • Web Entry+ EntriesController + ViewController + View• ASIHTTPRequest JSON Framework• id:Psychs ImageStore• iOS SDK Hacks