Enable SwiftLint rule 'let_var_whitespace' and fix all violations
This commit is contained in:
parent
c290ebe427
commit
1b3a8ff0d8
4 changed files with 5 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ whitelist_rules:
|
|||
- legacy_multiple
|
||||
- legacy_nsgeometry_functions
|
||||
- legacy_random
|
||||
# - let_var_whitespace
|
||||
- let_var_whitespace
|
||||
# - line_length
|
||||
- literal_expression_end_indentation
|
||||
# - lower_acl_than_parent
|
||||
|
|
|
|||
|
|
@ -14,11 +14,12 @@ import UIKit
|
|||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
var window: UIWindow?
|
||||
enum ViewTag: Int {
|
||||
case blur = 100, appicon
|
||||
}
|
||||
|
||||
var window: UIWindow?
|
||||
|
||||
lazy var passcodeLockPresenter: PasscodeLockPresenter = {
|
||||
let presenter = PasscodeLockPresenter(mainWindow: self.window)
|
||||
return presenter
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import passKit
|
|||
// cancel means cancel the extension
|
||||
class PasscodeLockViewControllerForExtension: PasscodeLockViewController {
|
||||
var originalExtensionContest: ASCredentialProviderExtensionContext?
|
||||
|
||||
public convenience init(extensionContext: ASCredentialProviderExtensionContext?) {
|
||||
self.init()
|
||||
self.originalExtensionContest = extensionContext
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import passKit
|
|||
// cancel means cancel the extension
|
||||
class PasscodeLockViewControllerForExtension: PasscodeLockViewController {
|
||||
var originalExtensionContest: NSExtensionContext?
|
||||
|
||||
public convenience init(extensionContext: NSExtensionContext?) {
|
||||
self.init()
|
||||
self.originalExtensionContest = extensionContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue