• 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
CoreFoundation <==> Foundation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreFoundation <==> Foundation?


  • Subject: CoreFoundation <==> Foundation?
  • From: Jim Correia <email@hidden>
  • Date: Sat, 16 Jun 2001 20:01:17 -0400

There appears to be what looks like a lot of 1 for 1 (or nearly so) correspondence between CoreFoundation and Foundation.

CFString NSString
CFDictionary NSDictionary

The procedural apis are nice to have when they are necessary (like using them from Carbon C code).

A couple of quick questions.

If I have existing code which works with CF(*)Refs can I cast them to NS(*) and expect them to work?

(*) = String, Dictionary, etc.

Are there going to be OOP calling interfaces for things which appear (I haven't seem them - if they exist please just point me at them) to only have procedural interfaces to date like CFTree and the XML utilities?

Thanks,
Jim


  • Follow-Ups:
    • Re: CoreFoundation <==> Foundation?
      • From: Chris Kane <email@hidden>
    • Re: CoreFoundation <==> Foundation?
      • From: Deirdre Saoirse Moen <email@hidden>
  • Prev by Date: Re: WWDC Dev Tools / Software update
  • Next by Date: more NSBrowser/NSMatrix issues
  • Previous by thread: Re: A question about preferences...
  • Next by thread: Re: CoreFoundation <==> Foundation?
  • Index(es):
    • Date
    • Thread