Core Foundation and Foundation

85 visualizzazioni
Passa al primo messaggio da leggere

Matthieu C

da leggere,
10 ago 2009, 15:21:5610/08/09
a Cocotron Developers
Hey,

I've just started fiddling with CocoTron and am reading the source
code. On Apple's page about compiling Core Foundation they state the
following:

"CF provides the fundamental C data types (for example, String,
Dictionary, Array, Data and Number) as well as the essential services
(such as plug-ins, URL handling and networking) that underlie both
Cocoa and Carbon. "

[ Reference: http://developer.apple.com/opensource/cflite.html ]

I'm reading the CocoTron code and assumed that NSString in the
Foundation framework would be using CFString and was very surprised
that it wasn't. I then did a recursive grep for "CF" in the
Foundation directory and couldn't find any references to Core
Foundation under the Cocoa Foundation classes for CocoTron.

I've only just started reading the code so please forgive me if the
answer is obvious.

Matthieu Cormier

Andy Balholm

da leggere,
12 ago 2009, 10:43:2312/08/09
a cocotr...@googlegroups.com
It appears to me that Cocotron defines CFString in terms of NSString
instead of vice versa.

Andy Balholm
(509) 276-7300
an...@balholm.com

Matthieu C

da leggere,
13 ago 2009, 16:56:5613/08/09
a Cocotron Developers
Is there a licensing issue with using Core Foundation from Apple?
It's open source.

http://www.opensource.apple.com/source/CF/CF-476.19/

On Aug 12, 11:43 am, Andy Balholm <a...@balholm.com> wrote:
> It appears to me that Cocotron defines CFString in terms of NSString  
> instead of vice versa.
>
> Andy Balholm
> (509) 276-7300
> a...@balholm.com
Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi