-
Notifications
You must be signed in to change notification settings - Fork 53
/
NavigationBackport.podspec
23 lines (23 loc) · 1.35 KB
/
NavigationBackport.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Pod::Spec.new do |spec|
spec.name = "NavigationBackport"
spec.version = "0.9.3"
spec.summary = "Backports NavigationStack for older SwiftUI versions."
spec.description = <<-DESC
This package uses the navigation APIs available in older SwiftUI versions
(such as `NavigationView` and `NavigationLink`) to recreate the new `NavigationStack` APIs
introduced in WWDC22, so that you can start targeting those APIs on older versions of iOS, tvOS,
macOS and watchOS. When running on an OS version that supports `NavigationStack`, `NavigationStack`
will be used under the hood.
DESC
spec.homepage = "https://github.com/johnpatrickmorgan/NavigationBackport"
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = { "John Patrick Morgan" => "[email protected]" }
spec.ios.deployment_target = "14.0"
spec.osx.deployment_target = "11.0"
spec.watchos.deployment_target = "7.0"
spec.tvos.deployment_target = "14.0"
spec.source = { :git => "https://github.com/johnpatrickmorgan/NavigationBackport.git", :tag => "#{spec.version}" }
spec.source_files = "Sources/NavigationBackport/*.swift"
spec.framework = "SwiftUI", "Foundation"
spec.swift_version = "5.6"
end