*** Welcome to piglix ***

Foundation Kit


The Foundation Kit, or just Foundation for short, is an Objective-C framework in the OpenStep specification. It provides basic classes such as wrapper classes and data structure classes. This framework uses the prefix NS (for NeXTSTEP, or NeXT/Sun_Microsystems).

This class is the most common base class for Objective-C hierarchies and provides standard methods for working with objects by managing the memory associated with them and querying them.

This class is used for string manipulation in OpenStep environments, representing a Unicode string. Though this class is immutable, there is an NSMutableString class in Foundation Kit.

NSValue is a wrapper class for C data types, and NSNumber is a wrapper class for C number data types such as int, double, and float. The data structures in Foundation Kit can only hold objects, not primitive types, so wrappers such as NSValue and NSNumber are used in those data structures.

The Foundation Kit is part of the Cocoa API. Beginning as the successor to OPENSTEP/Mach, this framework has deviated from OpenStep compliance, and is in some places incompatible.

The Foundation Kit is in the Cocoa Touch API. This framework is based on the macOS Foundation, not OpenStep.

The Foundation Kit is implemented in GNUstep's Base Package. This implementation is mostly comparable (4 classes are missing) and aims to be comparable with both the OpenStep API and later macOS additions.


...
Wikipedia

...