File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Pod::Spec.new do |s|
88 s . source = { :git => 'https://github.com/MengTo/Spring.git' , :tag => s . version . to_s }
99 s . requires_arc = true
1010 s . ios . deployment_target = '8.0'
11+ s . tvos . deployment_target = '11.0'
1112 s . source_files = 'Spring/*.swift'
12- s . resources = [ 'Spring/*.xib' , 'SpringApp/*.xcassets' ]
13+ s . ios . resources = [ 'Spring/*.xib' , 'SpringApp/*.xcassets' ]
14+ s . tvos . resources = [ 'SpringApp/*.xcassets' ]
1315end
Original file line number Diff line number Diff line change 2222
2323import UIKit
2424
25+ #if !os(tvOS)
26+ @available ( tvOS, unavailable)
2527public class KeyboardLayoutConstraint : NSLayoutConstraint {
2628
2729 private var offset : CGFloat = 0
2830 private var keyboardVisibleHeight : CGFloat = 0
2931
32+ @available ( tvOS, unavailable)
3033 override public func awakeFromNib( ) {
3134 super. awakeFromNib ( )
3235
@@ -104,3 +107,4 @@ public class KeyboardLayoutConstraint: NSLayoutConstraint {
104107 }
105108
106109}
110+ #endif
Original file line number Diff line number Diff line change 2222
2323import UIKit
2424
25+ #if !os(tvOS)
26+ @available ( tvOS, unavailable)
2527public class LoadingView : UIView {
2628
2729 @IBOutlet public weak var indicatorView : SpringView !
@@ -81,3 +83,4 @@ public extension UIView {
8183 }
8284
8385}
86+ #endif
You can’t perform that action at this time.
0 commit comments