Skip to content

Commit 326ac1a

Browse files
committed
Fixed tvOS compatibility.
1 parent 94643f5 commit 326ac1a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ or adding it to the `dependencies` of your `Package.swift`:
4141

4242
```swift
4343
dependencies: [
44-
.package(url: "https://github.com/sparrowcode/SwiftBoost", .upToNextMajor(from: "4.0.7"))
44+
.package(url: "https://github.com/sparrowcode/SwiftBoost", .upToNextMajor(from: "4.0.8"))
4545
]
4646
```
4747

Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public extension Locale {
1212
}
1313

1414
var languageID: String? {
15-
if #available(iOS 16.0, watchOS 9.0, macOS 13.0, *) {
15+
if #available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) {
1616
return self.language.languageCode?.identifier
1717
} else {
1818
return self.languageCode

Sources/SwiftBoost/UIKit/Extensions/UIToolbarExtension.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if canImport(UIKit) && (os(iOS) || os(tvOS))
1+
#if canImport(UIKit) && os(iOS)
22
import UIKit
33

44
extension UIToolbar {

SwiftBoost.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'SwiftBoost'
4-
s.version = '4.0.7'
4+
s.version = '4.0.8'
55
s.summary = 'Collection of Swift-extensions to boost development process.'
66
s.homepage = 'https://github.com/sparrowcode/SwiftBoost'
77
s.source = { :git => 'https://github.com/sparrowcode/SwiftBoost.git', :tag => s.version }

0 commit comments

Comments
 (0)