 //  Created by Thomas Evensen on 08/01/2020.
 //  Copyright © 2020 Thomas Evensen. All rights reserved.
 //
-// swiftlint:disable line_length cyclomatic_complexity
+// swiftlint:disable line_length
 
 import Foundation
 

    init(dict: NSMutableDictionary) {
        guard (dict.value(forKey: "localCatalog") as? String)?.isEmpty == false, (dict.value(forKey: "offsiteCatalog") as? String)?.isEmpty == false else { return }
        guard (dict.value(forKey: "localCatalog") as? String) != "/" || (dict.value(forKey: "offsiteCatalog") as? String) != "/" else { return }
        guard (dict.value(forKey: "localCatalog") as? String) != (dict.value(forKey: "offsiteCatalog") as? String) else { return }
        if (dict.value(forKey: "offsiteServer") as? String)?.isEmpty == false {
            guard (dict.value(forKey: "offsiteUsername") as? String)?.isEmpty == false else { return }
        }

    init(dict: NSMutableDictionary, Edit _: Bool) {
        guard (dict.value(forKey: "localCatalogCellID") as? String)?.isEmpty == false, (dict.value(forKey: "offsiteCatalogCellID") as? String)?.isEmpty == false else { return }
        guard (dict.value(forKey: "localCatalogCellID") as? String) != "/" || (dict.value(forKey: "offsiteCatalogCellID") as? String) != "/" else { return }
        if (dict.value(forKey: "offsiteServerCellID") as? String)?.isEmpty == false {
            guard (dict.value(forKey: "offsiteUsernameID") as? String)?.isEmpty == false else { return }
        }
