Documentation Archive Developer
Search

CoreFoundation Changes for Objective-C

CoreFoundation

CFAvailability.h

Added #def CF_SWIFT_UNAVAILABLE

CFBase.h

Removed kCFNotFound
Added #def CF_ASSUME_NONNULL_BEGIN
Added #def CF_ASSUME_NONNULL_END
Added #def CF_REFINED_FOR_SWIFT
Added #def CF_SWIFT_NAME

CFNumberFormatter.h

CFRunLoop.h

Declaration
From
SInt32 CFRunLoopRunInMode (
    CFStringRef mode,
    CFTimeInterval seconds,
    Boolean returnAfterSourceHandled
);
To
CFRunLoopRunResult CFRunLoopRunInMode (
    CFStringRef mode,
    CFTimeInterval seconds,
    Boolean returnAfterSourceHandled
);

CFURL.h

Deprecation
From--
ToOS X 10.11

IntroductionDeprecation
FromOS X 10.3--
ToOS X 10.0OS X 10.11