Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
Foundation.framework: Difference between revisions - iPhone Development Wiki

Foundation.framework: Difference between revisions

From iPhone Development Wiki
No edit summary
No edit summary
Line 5: Line 5:
This is the basic Objective-C-based framework, used by everything. Provides NSString, NSDictionary, NSArray, ...
This is the basic Objective-C-based framework, used by everything. Provides NSString, NSDictionary, NSArray, ...
It provides many classes that wrap {{fwlink|CoreFoundation}} classes, but also provides unique functionality above and beyond that.
It provides many classes that wrap {{fwlink|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="wikitable"
|-
! Class
! Possible reason for being undocumented
|-
| [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSAffineTransform_Class/Reference/Reference.html NSAffineTransform]
| CGAffineTransform is used instead.
|-
| [http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSUnarchiver_Class/Reference/Reference.html NSUnarchiver] and [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSArchiver_Class/Reference/Reference.html NSArchiver]
| Deprecated — use NSKeyedUnarchiver and NSKeyedArchiver instead.
|-
| [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSPointerFunctions_Class/Introduction/Introduction.html NSPointerFunctions], [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/NSHashTable_class/Introduction/Introduction.html NSHashTable] and [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/NSMapTable_class/Reference/NSMapTable.html NSMapTable]
| No garbage collection on iPhoneOS.
|-
| [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSHost_Class/Reference/Reference.html NSHost]
| Who knows?
|-
| [http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSTask_Class/Reference/Reference.html NSTask]
| SDK-compatible programs are not supposed to open other executables.
|-
| [http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSPortMessage_Class/Reference/Reference.html NSPortMessage]
| SDK-compatible programs are not supposed to perform IPC. (Although NSMessagePort is documented.)
|-
| [http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSProtocolChecker_Class/Reference/Reference.html NSProtocolChecker]
| Distributed objects are not available on the iPhoneOS.
|-
| [http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSURLDownload_Class/Reference/Reference.html NSURLDownload]
| Who knows? (Note that NSURLDownload was not available.)
|}


{{Navbox Classes}}
{{Navbox Classes}}
{{Navbox Frameworks}}
{{Navbox Frameworks}}

Revision as of 16:07, 4 October 2009

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.)