[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CoreBase and -base
From: |
David Chisnall |
Subject: |
Re: CoreBase and -base |
Date: |
Thu, 21 Apr 2011 18:00:56 +0100 |
On 21 Apr 2011, at 17:56, Ivan Vučica wrote:
> Maybe it's slightly off-topic, but what's the state of "toll-free bridging"
> between CF and NS classes?
In CoreBase, the 'toll-free bridged' classes are really just the NS versions,
returned as opaque types instead of Objective-C types.
When you use them as CF objects, you are (mostly) just calling thin wrapper
functions that call the relevant NS methods. This is more or less the opposite
of what Apple does - their NS methods wrap the relevant CF functions (or just
contain copies of the code).
David
-- Send from my Jacquard Loom