Skip to content

Commit

Permalink
Merge pull request #9 from drspoton/patch-1
Browse files Browse the repository at this point in the history
Update TypeAliases.swift
  • Loading branch information
kkiermasz committed May 16, 2022
2 parents 43b0619 + d289fa9 commit 8843545
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/AttributedStringBuilder/TypeAliases.swift
Expand Up @@ -8,10 +8,14 @@ import UIKit
typealias Color = UIColor
typealias Font = UIFont

#else
#elseif canImport(AppKit)

import AppKit
typealias Color = NSColor
typealias Font = NSFont

#else

#error("wtf")

#endif

0 comments on commit 8843545

Please sign in to comment.