Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSString is exactly the same as CFString?

O'Reilly's Programming iOS 5 says (maybe in a looser sense), that "an NSString is a CFString". But is it true that at least NSString * will point to some memory chunk with an isa, while CFStringRef probably does not?

like image 310
nonopolarity Avatar asked Sep 28 '12 13:09

nonopolarity


1 Answers

Not exactly the same; they are Toll-Free Bridged. This Apple Doc should explain in more detail.

Here is even more detail from iOS 5 Programming Pushing The Limits on Google Books.

like image 111
trojanfoe Avatar answered Sep 24 '22 11:09

trojanfoe