Foundation.framework

From iPhone Development Wiki
Revision as of 16:07, 4 October 2009 by KennyTM~ (talk | contribs)
Foundation.framework
Public Framework
Availabile 1.0 – present
Class Prefix NS
Headers [headers.cynder.me]

This is the basic Objective-C-based framework, used by everything. Provides NSString, NSDictionary, NSArray, ... It provides many classes that wrap CoreFoundation classes, but also provides unique functionality above and beyond that.

Mac OS X classes that are undocumented on the iPhoneOS

There are several classes that are present on both Mac OS X and iPhoneOS, but the corresponding documentation are not found on the iPhoneOS.

Class Possible reason for being undocumented
NSAffineTransform CGAffineTransform is used instead.
NSUnarchiver and NSArchiver Deprecated — use NSKeyedUnarchiver and NSKeyedArchiver instead.
NSPointerFunctions, NSHashTable and NSMapTable No garbage collection on iPhoneOS.
NSHost Who knows?
NSTask SDK-compatible programs are not supposed to open other executables.
NSPortMessage SDK-compatible programs are not supposed to perform IPC. (Although NSMessagePort is documented.)
NSProtocolChecker Distributed objects are not available on the iPhoneOS.
NSURLDownload Who knows? (Note that NSURLDownload was not available.)