fix
杨锴
2025-06-16 3fa53409f5132333ce6d83fff796e108ddd62090
1
2
3
4
5
6
7
8
9
10
11
12
13
// FontExtensions.swift - Copyright 2023 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