diff --git a/ALDataRequestView.podspec b/ALDataRequestView.podspec index a206eec..f0edffd 100644 --- a/ALDataRequestView.podspec +++ b/ALDataRequestView.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "ALDataRequestView" - s.version = "2.3.0" + s.version = "2.3.1" s.summary = "A view representation for data requests. Support for ReactiveCocoa and RXSwift." s.description = "A view representation for data requests. Support for ReactiveCocoa and RXSwift by attached it to signalproducers and observables." s.homepage = "https://github.com/AvdLee/ALDataRequestView" diff --git a/Changelog.md b/Changelog.md index dc84da3..8d28607 100755 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,6 @@ +# 2.3.1 +- Fixed tvOS support + # 2.3.0 - tvOS support diff --git a/Source/ALDataRequestView.swift b/Source/ALDataRequestView.swift index 6601db3..00f4029 100644 --- a/Source/ALDataRequestView.swift +++ b/Source/ALDataRequestView.swift @@ -215,7 +215,7 @@ public class ALDataRequestView: UIView { reloadView.autoPinEdgesToSuperviewEdges() dataSourceReloadType.setup(for: ReloadType(reason: reloadReason, error: error)) - #if os(tvos) + #if os(tvOS) if #available(iOS 9.0, *) { dataSourceReloadType.retryButton?.addTarget(self, action: #selector(ALDataRequestView.retryButtonTapped), for: UIControlEvents.primaryActionTriggered) }