Core Foundation and Foundation

瀏覽次數:85 次
跳到第一則未讀訊息

Matthieu C

未讀,
2009年8月10日 下午3:21:562009/8/10
收件者: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

未讀,
2009年8月12日 上午10:43:232009/8/12
收件者: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

未讀,
2009年8月13日 下午4:56:562009/8/13
收件者: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
回覆所有人
回覆作者
轉寄
0 則新訊息