Cocoa Touch
iOS devices like the iPhone, the iPod touch, and the iPad contain a computer that runs a scaled-down version of Mac OS X. Some features found in iOS devices, such as accelerometers and proximity sensors, are unique to these devices and are not found in other Mac OS X computers, such as MacBook Pros or iMacs.
Note
Actually, Mac notebooks contain an accelerometer so that the hard drive can be parked if the computer gets dropped; however, you can’t access this accelerometer directly from your programs.
Whereas the Cocoa frameworks are designed for application development for Mac OS X desktop and notebook computers, the Cocoa Touch frameworks are for applications targeted for iOS devices.
Both Cocoa and Cocoa Touch have the Foundation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access