Skip to content

Commit

Permalink
[Changed] ImageAttachment for iOS UIKit only
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanhuang13 committed Jul 11, 2019
1 parent ae50997 commit 2af0d8c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#if canImport(UIKit)
import UIKit
#elseif canImport(AppKit)
import AppKit
#endif

public typealias ImageAttachment = NSAttributedString.ImageAttchment

Expand All @@ -28,3 +25,4 @@ extension NSAttributedString {
}
}
}
#endif

0 comments on commit 2af0d8c

Please sign in to comment.