Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Web Services with Cocoa Sam Soffes
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
Everyone’s doing it You know you want to
Slide 4
Slide 4 text
So what do I do? Locate, eat, enjoy.
Slide 5
Slide 5 text
1. Connect to server 2. Transfer data 3. Parse data
Slide 6
Slide 6 text
XML - Extensible Markup Language JSON - JavaScript Object Notation YAML - YAML Ain't a Markup Language Plist - Property List
Slide 7
Slide 7 text
What’s a plist? Magical, textual goodness
Slide 8
Slide 8 text
property list files are files that store serialized objects NSString, NSNumber, NSDate, NSData, NSArray, NSDictionary
Slide 9
Slide 9 text
Transfer Who’s the smallest?
Slide 10
Slide 10 text
13 25 38 50 JSON YAML XML Plist 42 KB 30.3 KB 23.4 KB 22.8 KB Size in KB
Slide 11
Slide 11 text
plist vs JSON What’s the best?
Slide 12
Slide 12 text
50 100 150 200 JSON Framework Plist Touch JSON 40 45 194 ms seconds
Slide 13
Slide 13 text
Now what? NSURLConnection
Slide 14
Slide 14 text
SSConnection Data transfer made easy
Slide 15
Slide 15 text
Stuff to Check Out My blog: http://samsoff.es My Twitter: http://twitter.com/samsoffes My GitHub: http://github.com/samsoffes