cocoa

package cocoa
Cocoa API, the development layer of OS X

Concerns

  • cocoa: Cocoa API, the development layer of OS X
    • foundation: The Foundation Kit provides basic Objective-C classes and structures
    • app_kit: The Application Kit provides services to create GUI
    • cocoa: Cocoa API, the development layer of OS X

cocoa::foundation

module foundation

The Foundation Kit provides basic Objective-C classes and structures

Introduces
  • NSObject: Base of the Foundation framework class hierarchy
  • NSData: Wrapper of byte buffers
  • NSError: Error condition
  • NSString: String of the Foundation Kit
  • NSIndexPath: Path to a specific node in a tree of nested array collections
  • NSUserDefaults: Interface to the defaults system for an app to customize its behavior to match a user's preferences
Redefines
  • CString: C string char *
  • Text: High-level abstraction for all text representations