what's difference and relationship between CoreFoundation and Fou ndation framework
what's difference and relationship between CoreFoundation and Fou ndation framework
- Subject: what's difference and relationship between CoreFoundation and Fou ndation framework
- From: Chad Jones <email@hidden>
- Date: Wed, 5 Sep 2001 05:31:56 -0700
Foundation and CoreFoundation though they have similar names and most
of the calls have similar names the two are very different. The two
are two separate frameworks which except for their apparent
similarities are two separate frameworks.
Probably the largest difference is that Foundation is a Cocoa-only
set API calls (can't be used from carbon, command-line etc.) where as
CoreFoundation can be used by all types of programming on OSX. Also,
the type of objects the two use are very different because of the
compatibility difference between the rest of the system.
Their apparent similarities are intentional to make programming
consistent throughout the system. Also, its interesting to note that
a good deal of Foundation's inner workings is implemented using
CoreFoundation.
Anyways, if you want to find a place to start for CoreFoundation
documentation check out:
http://developer.apple.com/techpubs/macosx/CoreFoundation/Overview/CFOverview/Conceptual/CFOverview.html
Hi,
I wonder what's the difference and relationship between CoreFoundation and
Foundation framework?
Sometimes they have same name like NSMessagePort and CFMessagePort,
sometimes different like NSSocketPort and CFSocket, NSString and
CFStringRef. If we can use them as same thing, or there are quite different
between them. Where can I find CoreFoundation API?
Thanks,
Fei
--
*******************************************************
Chad Jones
Engineer, Hardware & Networking group
Worldwide Developer Technical Support
Apple Computer, Inc. email: email@hidden
1 Infinite Loop, MS: 303-2T phone: (408) 974-8106
Cupertino, CA 95014 fax: (408) 862-7602
*******************************************************