mNo edit summary |
|||
Line 7: | Line 7: | ||
This framework also provides some crucial Objective-C classes such as NSObject, NSString, NSArray, etc. | This framework also provides some crucial Objective-C classes such as NSObject, NSString, NSArray, etc. | ||
== Versions == | |||
{| class="wikitable" | |||
|- | |||
! Firmware | |||
| 2.0 || 2.1 || 2.2 || 3.0 || 3.1 || 3.2 | |||
|- | |||
! Version | |||
| 478.23 || 478.26.1 || 478.29 || 478.47.7 || 478.52 || 478.56 | |||
|} | |||
== Parameters for CoreFoundation applications == | == Parameters for CoreFoundation applications == |
Revision as of 10:21, 13 February 2010
CoreFoundation.framework | |
Public Framework | |
---|---|
Availabile | 1.0 – present |
Class Prefix | CF |
Headers | [headers.cynder.me] |
CoreFoundation is a cross-platform C-based API that provides reference-counted data structures, IPC facilities, run loops, etc. A subset of it is open-sourced as "CF-Lite".
This framework also provides some crucial Objective-C classes such as NSObject, NSString, NSArray, etc.
Versions
Firmware | 2.0 | 2.1 | 2.2 | 3.0 | 3.1 | 3.2 |
---|---|---|---|---|---|---|
Version | 478.23 | 478.26.1 | 478.29 | 478.47.7 | 478.52 | 478.56 |
Parameters for CoreFoundation applications
CoreFoundation recognizes the following special command-line arguments:
Flag | Purpose |
---|---|
-AppleLanguages "(lang1, lang2, ...)" | Set the list of languages for localization. |
Environment variables
Application built with CoreFoundation will recognize the following environment variables
Name | Purpose |
---|---|
NSZombieEnabled[1][2] NSDeallocateZombies[1] CFZombieLevel[3] |
Use "zombies" for easier detection on misusing deallocated objects. |
__CF_DEBUG_EXPANDED_SET CFCharacterSetCheckForExpandedSet |
Enable check for expanded character sets. When an expanded set is detected, a message "An expanded CFMutableCharacter has been detected. Recommend to compact with CFCharacterSetCreateCopy" will be printed. |
CFBundleUseDYLD | Use low-level dyld(3) functions instead of dlopen(3)/etc. to check if a bundle is loaded or not. |
CFProcessPath | Manually set the process path. |
OAKeepAllocationStatistics[4] | ? |
CFBundleDisableStringsSharing | Do not share .strings files. (?) |
CFPropertyListAllowImmutableCollections | Force collections (array, dictionary) parsed from property lists to be immutable. |
USER HOME PATH DYLD_IMAGE_SUFFIX |
Various CF functions depend on these info. |
CFFIXED_USER_HOME | Manually set the home directory. |
CFUUIDVersionNumber[5] | UUID version to use. Only supports 1 or 4. |
CFLOG_FORCE_STDERR | Stream error from CFLog to stderr too. |
TZFILE TZ |
Timezone info. |
CFNETWORK_LIBRARY_PATH | Manually set the path of the CFNetwork binary. |
References
- ↑ 1.0 1.1 http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html#SECFOUNDATION
- ↑ http://www.cocoadev.com/index.pl?NSZombieEnabled
- ↑ http://www.cocoadev.com/index.pl?CFZombie
- ↑ http://gcc.gnu.org/ml/gcc/2002-08/msg01225.html
- ↑ http://www.monen.nl/DevDoc/releasenotes/CoreFoundation/RN-CoreFoundation/index.html#//apple_ref/doc/uid/TP40000994-DontLinkElementID_4
|