Skip to content

Commit 8488fc2

Browse files
committed
spm support
1 parent 790781c commit 8488fc2

14 files changed

+24
-1
lines changed

ImageViewer.swift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
88
:git => 'https://github.com/michaelhenry/ImageViewer.swift.git',
99
:tag => s.version.to_s
1010
}
11-
s.source_files = 'Sources/*'
11+
s.source_files = 'Sources/ImageViewer_swift/*'
1212
s.requires_arc = true
1313
s.ios.deployment_target = '10.0'
1414
s.swift_versions = ['4.0','4.2','5.0']

Package.swift

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// swift-tools-version:5.3
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "ImageViewer_swift",
6+
platforms: [
7+
.iOS(.v10)
8+
],
9+
products: [
10+
.library(
11+
name: "ImageViewer_swift",
12+
targets: ["ImageViewer_swift"])
13+
],
14+
dependencies: [
15+
.package(url: "https://github.com/SDWebImage/SDWebImage", .upToNextMajor(from: "5.11.0")),
16+
],
17+
targets: [
18+
.target(
19+
name: "ImageViewer_swift",
20+
dependencies: ["SDWebImage"],
21+
path: "Sources/ImageViewer_swift")
22+
]
23+
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Sources/ImageViewerTransitionPresentationManager.swift renamed to Sources/ImageViewer_swift/ImageViewerTransitionPresentationManager.swift

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)