Skip to content

Commit

Permalink
Mark some types deprecated to match visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Mar 26, 2024
1 parent 8a381ba commit c8153b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/NSUI/Aliases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public typealias NSUIApplicationDelegate = UIApplicationDelegate
public typealias NSUIApplicationDelegateAdaptor = UIApplicationDelegateAdaptor

// Storyboard
@available(visionOS, introduced: 1.0, deprecated)
public typealias NSUIStoryboard = UIStoryboard

// Collection View
Expand All @@ -75,6 +76,7 @@ public typealias NSUIImage = UIImage
public typealias NSUIImageView = UIImageView
public typealias NSUILabel = UILabel
public typealias NSUILongPressGestureRecognizer = UILongPressGestureRecognizer
@available(visionOS, introduced: 1.0, deprecated)
public typealias NSUINib = UINib

@available(tvOS, unavailable)
Expand Down

0 comments on commit c8153b2

Please sign in to comment.