Update compilation for swift 4.2
This commit is contained in:
parent
9fe3cbb4af
commit
1bc92f98c4
|
|
@ -736,7 +736,7 @@
|
|||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 4.0;
|
||||
SWIFT_VERSION = 4.2;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
|
@ -760,7 +760,7 @@
|
|||
PRODUCT_NAME = LeadKitAdditions;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_VERSION = 4.0;
|
||||
SWIFT_VERSION = 4.2;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
@ -784,7 +784,7 @@
|
|||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_VERSION = 4.0;
|
||||
SWIFT_VERSION = 4.2;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
|
@ -808,7 +808,7 @@
|
|||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
|
||||
SWIFT_VERSION = 4.0;
|
||||
SWIFT_VERSION = 4.2;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import PinLayout
|
|||
/// Cell that uses PinLayout. Contains methods that should be overriden in subclasses.
|
||||
open class PinLayoutTableViewCell: UITableViewCell, PinLayoutCell {
|
||||
|
||||
public override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
|
||||
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
|
||||
super.init(style: style, reuseIdentifier: reuseIdentifier)
|
||||
|
||||
initializeCell()
|
||||
|
|
|
|||
|
|
@ -45,14 +45,14 @@ open class SeparatorTableViewCell: PinLayoutTableViewCell {
|
|||
|
||||
/// Move separator upward in hierarchy
|
||||
public func bringSeparatorsToFront() {
|
||||
contentView.bringSubview(toFront: topSeparator)
|
||||
contentView.bringSubview(toFront: bottomSeparator)
|
||||
contentView.bringSubviewToFront(topSeparator)
|
||||
contentView.bringSubviewToFront(bottomSeparator)
|
||||
}
|
||||
|
||||
/// Move separator backward in hierarchy
|
||||
public func sendSeparatorsToBack() {
|
||||
contentView.sendSubview(toBack: topSeparator)
|
||||
contentView.sendSubview(toBack: bottomSeparator)
|
||||
contentView.sendSubviewToBack(topSeparator)
|
||||
contentView.sendSubviewToBack(bottomSeparator)
|
||||
}
|
||||
|
||||
// MARK: - PinLayoutTableViewCell
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ open class BasePassCodeViewController: UIViewController, ConfigurableController
|
|||
return
|
||||
}
|
||||
|
||||
NotificationCenter.default.rx.notification(.UIApplicationWillResignActive)
|
||||
NotificationCenter.default.rx.notification(UIApplication.willResignActiveNotification)
|
||||
.subscribe(onNext: { [weak self] _ in
|
||||
self?.resetUI()
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue