Cocoa Programming for OS X: The Big Nerd Ranch Guide
by Aaron Hillegass, Adam Preble, Nate Chandler
The Cocoa Frameworks
A framework is a collection of classes that are intended to be used together. That is, the classes are compiled together into a reusable library of binary code. Any related resources are put into a directory with the library. The directory is given the extension .framework. You can find the built-in frameworks for your machine in /System/Library/Frameworks. Cocoa is made up of three frameworks:
-
Foundation: Every object-oriented programming language needs the standard value, collection, and utility classes. Strings, dates, lists, threads, and timers are in the Foundation framework. All Cocoa apps, from command-line tools to fully-featured GUI apps, use Foundation. Foundation is also available on iOS.
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