Skip to content

Commit e5569b3

Browse files
committed
Explanatory comment
1 parent f00880f commit e5569b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Foundation/NSObject.swift

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

10-
import CoreFoundation
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.
1113
@_exported import Dispatch
1214

15+
import CoreFoundation
16+
1317
/// The `NSObjectProtocol` groups methods that are fundamental to all Foundation objects.
1418
///
1519
/// If an object conforms to this protocol, it can be considered a first-class object.

0 commit comments

Comments
 (0)