diff --git a/Foundation/NSObject.swift b/Foundation/NSObject.swift index 2c5956f964..bd4fe38177 100644 --- a/Foundation/NSObject.swift +++ b/Foundation/NSObject.swift @@ -7,6 +7,11 @@ // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// @_exported import of Dispatch here makes it available to all +// classes in Foundation and all sources that import Foundation. +// This brings it into line with Darwin usage for compatbility. +@_exported import Dispatch + import CoreFoundation /// The `NSObjectProtocol` groups methods that are fundamental to all Foundation objects.