diff --git a/CHANGELOG.md b/CHANGELOG.md index 80043749..9f3e007a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,12 @@ ### 0.9.31 - **Add**: `@discardableResult` to function - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`. +### 0.9.30.2 +- **Fix**: version for Soglasie. open protection level + +### 0.9.30.1 +- **Fix**: version for Soglasie + ### 0.9.30 - **Add**: character `*` into a valid set of characters in the extension `telpromptURL` of String. diff --git a/LeadKit.podspec b/LeadKit.podspec index 8da751f4..0cba8e04 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.10.9" + s.version = "0.9.45" 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" @@ -42,6 +42,7 @@ Pod::Spec.new do |s| "Sources/Classes/Search/*", "Sources/Enums/Search/*", "Sources/Extensions/CABasicAnimation/*", + "Sources/Extensions/UIInterfaceOrientation/UIInterfaceOrientation+ VideoOrientation.swift", "Sources/Extensions/CGFloat/CGFloat+Pixels.swift", "Sources/Extensions/NetworkService/NetworkService+RxLoadImage.swift", "Sources/Extensions/DataLoading/GeneralDataLoading/GeneralDataLoadingController+DefaultImplementation.swift", @@ -82,6 +83,16 @@ Pod::Spec.new do |s| "Sources/Classes/Controllers/BaseTableContentController.swift", "Sources/Classes/Views/BaseRxTableViewCell/*", "Sources/Classes/Views/ContainerTableCell/*", + "Sources/Classes/Views/TableViewWrapperView/TableViewWrapperView.swift", + "Sources/Classes/Controllers/BaseCollectionContentController.swift", + "Sources/Classes/Views/CollectionViewWrapperView/CollectionViewWrapperView.swift", + "Sources/Classes/Controllers/BaseCustomViewController.swift", + "Sources/Classes/Controllers/BaseConfigurableController.swift", + "Sources/Classes/Controllers/BaseScrollContentController.swift", + "Sources/Classes/Controllers/BaseOrientationController.swift", + "Sources/Classes/Controllers/BaseOrientationNavigationController.swift", + "Sources/Extensions/UIKit/UIDevice/UIDevice+ScreenOrientation.swift", + "Sources/Extensions/UIInterfaceOrientation/UIInterfaceOrientation+ VideoOrientation.swift", "Sources/Classes/Views/SeparatorRowBox/*", "Sources/Classes/Views/SeparatorCell/*", "Sources/Classes/Views/EmptyCell/*", diff --git a/Sources/Extensions/UIKit/UIDevice/UIDevice+ScreenOrientation.swift b/Sources/Extensions/UIKit/UIDevice/UIDevice+ScreenOrientation.swift index e4dbec26..49ba8e33 100644 --- a/Sources/Extensions/UIKit/UIDevice/UIDevice+ScreenOrientation.swift +++ b/Sources/Extensions/UIKit/UIDevice/UIDevice+ScreenOrientation.swift @@ -6,8 +6,9 @@ public extension UIDevice { /// /// - Parameters: /// - orientation: ориентация в терминах ScreenOrientation - func rotateManually(to orientation: UIInterfaceOrientation) { - UIDevice.current.setValue(orientation, forKey: "orientation") + func rotateOrientationManually(to orientation: UIInterfaceOrientation) { + let orientationValue = Int(orientation.rawValue) + UIDevice.current.setValue(orientationValue, forKey: "orientation") UIViewController.attemptRotationToDeviceOrientation() } }