Skip to content

Commit 5b34752

Browse files
committed
Limit import UIKit clauses to the exact classes used
1 parent 9d94293 commit 5b34752

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Multiplexer/CachingLoader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Foundation
1616
import Cocoa
1717
public typealias UIImage = NSImage
1818
#elseif os(iOS)
19-
import UIKit
19+
import UIKit.UIImage
2020
#endif
2121
#endif
2222

Multiplexer/MuxRepository.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import Foundation
1010

1111
#if !NO_UIKIT && os(iOS)
12-
import UIKit
12+
import UIKit.UIApplication
1313
#endif
1414

1515

0 commit comments

Comments
 (0)