Skip to content

Commit

Permalink
Added @_exported to all imports
Browse files Browse the repository at this point in the history
This is intended to aid in the new Swift 6 requirement to import things explicitly
  • Loading branch information
KyLeggiero committed Jan 21, 2024
1 parent d64faa8 commit a4237cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Sources/CrossKitTypes/Cross-Kit Color.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@


#if !ONLY_APP_KIT && canImport(UIKit)
import UIKit
@_exported import UIKit



public typealias NativeColor = UIColor

#elseif canImport(AppKit)
import AppKit
@_exported import AppKit



Expand Down
4 changes: 2 additions & 2 deletions Sources/CrossKitTypes/Cross-Kit Font.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@


#if !ONLY_APP_KIT && canImport(UIKit)
import UIKit
@_exported import UIKit



public typealias NativeFont = UIFont

#elseif canImport(AppKit)
import AppKit
@_exported import AppKit



Expand Down
4 changes: 2 additions & 2 deletions Sources/CrossKitTypes/Cross-Kit Image.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@


#if !ONLY_APP_KIT && canImport(UIKit)
import UIKit
@_exported import UIKit



public typealias NativeImage = UIImage

#elseif canImport(AppKit)
import AppKit
@_exported import AppKit



Expand Down

0 comments on commit a4237cf

Please sign in to comment.