Compare commits

...

19 Commits

Author SHA1 Message Date
Boyko Mihail 5e4c51c2f9 Merge with orientation branch 2020-10-12 12:11:23 +03:00
Boyko Mihail 0d8e80deab Update tag 2020-10-05 13:43:01 +03:00
Boyko Mihail fd1c2cc56b Update version 2020-10-05 12:48:58 +03:00
Boyko Mihail 6e8eda4c42 cherry-pick 22ba1fb8f7 2020-10-05 12:48:22 +03:00
Boyko Mihail 198eaecf96 Update podspec 2020-10-05 11:23:39 +03:00
Boyko Mihail 131ed5b493 Update podspec 2020-10-05 11:14:24 +03:00
Boyko Mihail 1e7e840e23 Update pod spec 2020-10-05 11:02:43 +03:00
Boyko Mihail 1091d27034 Update version to 0.9.30.1 2020-10-05 10:46:54 +03:00
Boyko Mihail 292d5ce16c Update version to 0.9.31 2020-10-05 10:45:49 +03:00
Boyko Mihail 2bd38efab0 cherry-pick 4c81de418f 2020-10-05 10:43:26 +03:00
Boyko Mihail 5297be522f Fix indent 2020-10-05 08:42:22 +03:00
Boyko Mihail 0d51ccb908 Fix PR issue 2020-10-05 08:42:14 +03:00
Boyko Mihail ce26a914a0 cherry-pick 5427b0f1be 2020-10-05 08:42:04 +03:00
Boyko Mihail 6fca1936df fix public extension 2020-10-01 20:43:01 +03:00
Boyko Mihail 28c51ae7f6 Add videoOrientation extension 2 2020-10-01 20:33:49 +03:00
Boyko Mihail dfeb41b919 Add videoOrientation extension 2020-10-01 20:28:46 +03:00
Boyko Mihail ccc085df3c Add BaseOrientationController 2020-10-01 19:46:40 +03:00
Boyko Mihail 0bc80d98b8 Fix PR issue from Ivan Smolin 2020-10-01 18:54:19 +03:00
Boyko Mihail f62ad5be5f cherry-pick 45d88b4cf6 2020-10-01 18:54:05 +03:00
3 changed files with 21 additions and 3 deletions

View File

@ -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.

View File

@ -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/*",

View File

@ -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()
}
}