Skip to content

Commit

Permalink
Fix missing public typealias
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Mar 31, 2024
1 parent 477e8df commit a85407c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Sources/NSUI/Aliases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public typealias NSUICollectionViewDelegateFlowLayout = NSCollectionViewDelegate
public typealias NSUIColor = NSColor
public typealias NSUIEdgeInsets = NSEdgeInsets
public typealias NSUIFont = NSFont
public typealias NSUIFontDescriptor = NSFontDescriptor
public typealias NSUIImage = NSImage
public typealias NSUIImageView = NSImageView
public typealias NSUILabel = NSTextField
Expand Down
1 change: 0 additions & 1 deletion Sources/NSUI/FontDescriptor.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#if canImport(AppKit) && !targetEnvironment(macCatalyst)
import AppKit

typealias NSUIFontDescriptor = NSFontDescriptor
extension NSUIFontDescriptor.SymbolicTraits {
public static let traitItalic = Self.italic
public static let traitBold = Self.bold
Expand Down

0 comments on commit a85407c

Please sign in to comment.