Skip to content

Commit

Permalink
Enable native visionOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
vtourraine committed Feb 6, 2024
1 parent 50fcf86 commit d2abff2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.1.1 (work in progress)

- [x] Update `AcknowListViewController` and `AcknowViewController` to enable native visionOS support


## 3.1.0 (25 January 2024)

- Add `GitHubAPI` to get licenses from GitHub API
Expand Down
6 changes: 3 additions & 3 deletions Sources/AcknowList/AcknowListViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@

import Foundation

#if os(iOS) || os(tvOS)
#if os(iOS) || os(tvOS) || os(visionOS)
import UIKit
#endif

#if os(iOS)
#if os(iOS) || os(visionOS)
import SafariServices
#endif

#if os(iOS) || os(tvOS)
#if os(iOS) || os(tvOS) || os(visionOS)
/// Subclass of `UITableViewController` that displays a list of acknowledgements.
@available(iOS 9.0.0, tvOS 9.0.0, *)
@available(iOSApplicationExtension, unavailable)
Expand Down
2 changes: 1 addition & 1 deletion Sources/AcknowList/AcknowViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#if os(iOS) || os(tvOS)
#if os(iOS) || os(tvOS) || os(visionOS)
import UIKit

/// Subclass of `UIViewController` that displays a single acknowledgement.
Expand Down

0 comments on commit d2abff2

Please sign in to comment.