diff --git a/CHANGELOG.md b/CHANGELOG.md index 0685227a..3bdac5e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +### 0.9.24 +- **Add**: `NetworkErrorAlertBase` class that stores settings for network error alert. +- **Add**: `NetworkErrorHandler` protocol for classes that can handle network error. +- **Add**: `NetworkErrorHandlingType` enum with types of network error handling. +- **Add**: `handleNetworkError(type:handler:)` method for `Observable`, `Single` and `Completable` that handles network error. + ### 0.9.23 - **Add**: Rounding for `Decimal`. - **Add**: `doubleValue` property for `Decimal`. diff --git a/LeadKit.podspec b/LeadKit.podspec index ae7a0d9a..04619f0e 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.9.23" + s.version = "0.9.24" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0" diff --git a/Sources/Info-iOS.plist b/Sources/Info-iOS.plist index 4b8f7be2..c1c8f16b 100644 --- a/Sources/Info-iOS.plist +++ b/Sources/Info-iOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.23 + 0.9.24 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Info-tvOS.plist b/Sources/Info-tvOS.plist index 4b8f7be2..c1c8f16b 100644 --- a/Sources/Info-tvOS.plist +++ b/Sources/Info-tvOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.23 + 0.9.24 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Info-watchOS.plist b/Sources/Info-watchOS.plist index 4b8f7be2..c1c8f16b 100644 --- a/Sources/Info-watchOS.plist +++ b/Sources/Info-watchOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.23 + 0.9.24 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Protocols/NetworkErrorHandler.swift b/Sources/Protocols/NetworkErrorHandler.swift index 1842b953..5dfb887f 100644 --- a/Sources/Protocols/NetworkErrorHandler.swift +++ b/Sources/Protocols/NetworkErrorHandler.swift @@ -20,7 +20,7 @@ // THE SOFTWARE. // -import Foundation +import UIKit /// Protocol for class that can handle network error public protocol NetworkErrorHandler: class {