Free Trial

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

Share this Page URL

Topic: Networking - Pg. 9

Intermediate iOS Development Learning Path Finally, the section ends with an unadulterated, no-holds-barred look at JSON as a serial data mover. iOS 5 Programming Cookbook, by Vandad Nahavandipoor, O'Reilly Media, Inc. o o Recipe 8.9. Serializing Arrays and Dictionaries into JSON Recipe 8.10. Deserializing JSON into Arrays and Dictionaries [00:15] TOPIC: NETWORKING Networking is a fairly broad topic. Fortunately, the sections on web applications and services address many of our connectivity needs. Where you go from here is largely a matter of how deeply you need to dig. If you're looking for a fairly simple high-level exchange of data, possibly on a file basis, you might consider The iOS 5 Developer's Cookbook. Along the way, you'll pick up some useful techniques to check your network status, make use of the keychain, and check site availability. The iOS 5 Developer's Cookbook: Core Concepts and Essential Recipes for iOS Programmers, Third Edition, by Erica Sadun, Addison-Wesley Professional. o Chapter 15. Networking [01:40] If, on the other hand, you really want to work on the socket level, you need to look at the CFNetwork APIs in the Core Foundation. The BSD (POSIX) networking APIs are available in iOS, but their use is discouraged since they can interfere with certain iOS features such as VPN On Demand. Zdziarski offers a bare-bones Joke Server, plus examples using CFHTTP and CFFTP APIs. Mark and LaMarche make use of Bonjour to ease the network configuration of an online Tic-Tac-Toe game which is implemented in the chapter. iPhone SDK Application Development, by Jonathan Zdziarski, O'Reilly Media, Inc. o Chapter 7. Network Programming with CFNetwork [00:40] 9