• 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
Re: Foundation vs Core Foundation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Foundation vs Core Foundation


  • Subject: Re: Foundation vs Core Foundation
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 29 Nov 2010 15:40:41 -0700

On Nov 29, 2010, at 2:18 PM, Jon Sigman wrote:

> It sounds like Foundation is the safer way to go, especially to safeguard future
> functionality expansion. I take it Foundation does not contain Core Foundation,
> but at least they're not mutually exclusive?

No; many of the classes in Foundation simply wrap CoreFoundation objects. You can even cast Foundation objects to CoreFoundation objects, and they'll work (with a few exceptions, such as NS/CFRunLoop and NS/CFBundle). Search for "toll free bridging" on ADC for more information.

> If I go Foundation, I can include
> Core Foundation as well, should I want something in it, since it's just C?

Yes.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Foundation vs Core Foundation (From: Jon Sigman <email@hidden>)
 >Re: Foundation vs Core Foundation (From: Dave Keck <email@hidden>)
 >Re: Foundation vs Core Foundation (From: Jon Sigman <email@hidden>)

  • Prev by Date: Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
  • Next by Date: Re: QTKit Exception
  • Previous by thread: Re: Foundation vs Core Foundation
  • Next by thread: Re: Foundation vs Core Foundation
  • Index(es):
    • Date
    • Thread