Skip to content

Commit

Permalink
Support visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsprint09 committed Oct 19, 2023
1 parent 354f310 commit 9ea51bf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// swift-tools-version:5.0
// swift-tools-version:5.9

import PackageDescription

let package = Package(
name: "Sourcing",
platforms: [
.iOS(.v11)
.iOS(.v12),
.visionOS(.v1)
],
products: [
.library(
Expand Down
2 changes: 1 addition & 1 deletion Source/ChangeAnimator/CollectionViewChangesAnimator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// DEALINGS IN THE SOFTWARE.
//

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

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/ChangeAnimator/TableViewChangesAnimator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// DEALINGS IN THE SOFTWARE.
//

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

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/DataSource/CollectionViewDataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// DEALINGS IN THE SOFTWARE.
//

#if os(iOS) || os(tvOS)
#if os(iOS) || os(tvOS) || os(visionOS)
import UIKit
/// `CollectionViewDataSource` uses data provider and provides the data as a `UICollectionViewDataSource`.
///
Expand Down
2 changes: 1 addition & 1 deletion Source/DataSource/TableViewDataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// DEALINGS IN THE SOFTWARE.
//

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

/// `TableViewDataSource` uses data provider and provides the data as a `UITableViewDataSource`.
Expand Down

0 comments on commit 9ea51bf

Please sign in to comment.