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

Re: CoreFoundation <==> Foundation?


  • Subject: Re: CoreFoundation <==> Foundation?
  • From: Chris Kane <email@hidden>
  • Date: Wed, 20 Jun 2001 14:45:24 -0500

On Saturday, June 16, 2001, at 07:01 PM, Jim Correia wrote:
If I have existing code which works with CF(*)Refs can I cast them to NS(*) and expect them to work?

You have to be a little careful. Some things that look the same name are not necessarily toll-free bridged. CF/NSRunLoop is one example. Generally "lower-level" collection and data bearing objects are toll-free bridged.

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?

There will likely be ObjC APIs for these in the future. NSTree, NSXMLParser, etc. may or may not be toll-free bridged to the CF equivalents (bridging certainly complexifies things over simple API wrappers).


Chris Kane
Cocoa Frameworks, Apple Computer


References: 
 >CoreFoundation <==> Foundation? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: CoreFoundation <==> Foundation?
  • Next by Date: Re: Multiple NSTableView question
  • Previous by thread: Re: CoreFoundation <==> Foundation?
  • Next by thread: Re: CoreFoundation <==> Foundation?
  • Index(es):
    • Date
    • Thread