Foundation Functions and Data Types
The Foundation Framework is not only composed of classes, it also includes numerous functions, data types, and constants. Now you may be thinking, “Why do I need these additional APIs? After all, Objective-C is an object-oriented programming language and the Foundation Framework provides a complete set of classes.” Well, these APIs are, in fact, an important part of the Foundation Framework, and together they provide a variety of essential functionality for Objective-C software development. In this chapter, you will explore these APIs and the provided sample code to learn how they can be used in your programs.
The Foundation Framework defines a number of functions and function-like ...