Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Part IV: Appendices > Toll-Free Bridged Classes

B. Toll-Free Bridged Classes

Table B.1. Core Foundation types that are toll-free bridged to Foundation classes
Core FoundationFoundation classAvailability type (Listed OS and later)
CFArrayRefNSArrayMac OS X v10.0
CFAttributedStringRefNSAttributedStringMac OS X v10.4
CFCalendarRefNSCalendarMac OS X v10.4
CFCharacterSetRefNSCharacterSetMac OS X v10.0
CFDataRefNSDataMac OS X v10.0
CFDateRefNSDateMac OS X v10.0
CFDictionaryRefNSDictionaryMac OS X v10.0
CFLocaleRefNSLocaleMac OS X v10.4
CFMutableArrayRefNSMutableArrayMac OS X v10.0
CFMutableAttributedStringRefNSMutableAttributedStringMac OS X v10.4
CFMutableCharacterSetRefNSMutableCharacterSetMac OS X v10.0
CFMutableDataRefNSMutableDataMac OS X v10.0
CFMutableDictionaryRefNSMutableDictionaryMac OS X v10.0
CFMutableSetRefNSMutableSetMac OS X v10.0
CFMutableStringRefNSMutableStringMac OS X v10.0
CFNumberRefNSNumberMac OS X v10.0
CFReadStreamRefNSInputStreamMac OS X v10.0
CFRunLoopTimerRefNSTimerMac OS X v10.0
CFSetRefNSSetMac OS X v10.0
CFStringRefNSStringMac OS X v10.0
CFTimeZoneRefNSTimeZoneMac OS X v10.0
CFURLRefNSURLMac OS X v10.0
CFWriteStreamRefNSOutputStreamMac OS X v10.0


Note

These are (currently) the only toll-free bridged classes. You should not use type or class names as a guide. If a class and type are not in the preceding table, they are not toll-free bridged, even if the class and type names are the same or similar.



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial