CoreFoundation <==> Foundation?
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