|
Core Foundation (also called CF) is a C application programming interface (API) in Mac OS X, and is a mix of low-level routines and wrapper functions. Most of it is available in an open source project called CF-Lite that can be used to write cross-platform applications for Mac OS X, Linux, and Windows (via Cygwin).[1] Most Core Foundation routines follow a certain naming convention that deal with opaque objects, for example CFDictionaryRef for functions whose names begin with CFDictionary, and these objects are often reference counted (manually) through The most prevalent use of Core Foundation is for passing its own primitive types for data, including raw bytes, Unicode strings, numbers, calendar dates, and UUIDs, as well as collections such as arrays, sets, and dictionaries, to numerous OS X C routines, primarily those that are GUI-related. At the operating system level Core Foundation also provides standardized application preferences management through Other parts of the API include utility routines and wrappers around existing APIs for ease of use. Utility routines perform such actions as file system and network I/O through Some types in Core Foundation are "toll-free bridged", or interchangeable with a simple cast, with those of their Foundation Kit counterparts. For example, one could create a CFDictionary Core Foundation type, and then later simply use a standard C cast to convert it to its Objective-C counterpart, NSDictionary, and then use the desired Objective-C methods on that object as one normally would. [edit] External links
[edit] References
offerte voli | hoteles | precios | voli | die verzeichnis | annuarie web | stop smoking london | ||||||