杨锴
2024-09-14 6912d657ec6bb1db9683d5b5be8f0777f001ba11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// FontExtensions.swift - Copyright 2024 SwifterSwift
 
#if canImport(UIKit)
import UIKit
 
/// SwifterSwift: Font
public typealias SFFont = UIFont
#endif
 
#if canImport(AppKit) && !targetEnvironment(macCatalyst)
import AppKit
 
/// SwifterSwift: Font
public typealias SFFont = NSFont
#endif