0
What is toll-free bridging and when is it useful?

Open 1 Answers 40 Views Technology

What is toll-free bridging and when is it useful?

1 Answer

0

Toll-free bridging means that the data structures are interchangeable. It is just as simple as casting — that’s the “toll-free” part. Anyplace you can use the type on one side of the bridge, you can use the other. So, for example, you can create a CFString and then send NSString messages to it, or you can create an NSArray and pass the array to CFArray functions.

by (304k points)
...