Global: run through swiftlint

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2018-11-03 19:35:25 +01:00
parent 6738ebb356
commit 955de09c9e
12 changed files with 54 additions and 55 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ class TunnelViewModel {
class InterfaceData {
var scratchpad: [InterfaceField: String] = [:]
var fieldsWithError: Set<InterfaceField> = []
var validatedConfiguration: InterfaceConfiguration? = nil
var validatedConfiguration: InterfaceConfiguration?
subscript(field: InterfaceField) -> String {
get {
@@ -176,7 +176,7 @@ class TunnelViewModel {
var index: Int
var scratchpad: [PeerField: String] = [:]
var fieldsWithError: Set<PeerField> = []
var validatedConfiguration: PeerConfiguration? = nil
var validatedConfiguration: PeerConfiguration?
// For exclude private IPs
var shouldAllowExcludePrivateIPsControl: Bool = false /* Read-only from the VC's point of view */