• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
what's difference and relationship between CoreFoundation and Fou ndation framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
*******************************************************


  • Follow-Ups:
    • Re: what's difference and relationship between CoreFoundation and Fou ndation framework
      • From: Alykhan Jetha <email@hidden>
    • Re: what's difference and relationship between CoreFoundation and Fou ndation framework
      • From: Marcel Weiher <email@hidden>
  • Prev by Date: Re: Why is NSTableView scrolling in Cocoa apps so slow?
  • Next by Date: Re: self and _cmd
  • Previous by thread: Re: Why is NSTableView scrolling in Cocoa apps so slow?
  • Next by thread: Re: what's difference and relationship between CoreFoundation and Fou ndation framework
  • Index(es):
    • Date
    • Thread