6. Files and Networking

The iPhone runs a slimmed-down version of the Mac OS X operating system, so the file system is similar to its desktop cousin. However, iPhone applications run within a security sandbox, a unique area on the iPhone reserved for an application where it can run without affecting the system or any other iPhone applications. So, the files and directories you can actually read and write are somewhat limited. Of course, this also means that other applications can’t gain access to your application’s files!

The iPhone also has some fairly extensive networking capabilities by way of its Wi-Fi, Bluetooth, and 3G connectivity options. In this chapter, you’ll learn the classes, methods, ...

Get iPhone Application Development for iOS 4: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.