Skip to content

Commit 2b52994

Browse files
authored
Merge pull request #1206 from johnno1962e/Implicit-import-Dispatch
2 parents a902825 + e5569b3 commit 2b52994

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Foundation/NSObject.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
88
//
99

10+
// @_exported import of Dispatch here makes it available to all
11+
// classes in Foundation and all sources that import Foundation.
12+
// This brings it into line with Darwin usage for compatbility.
13+
@_exported import Dispatch
14+
1015
import CoreFoundation
1116

1217
/// The `NSObjectProtocol` groups methods that are fundamental to all Foundation objects.

0 commit comments

Comments
 (0)