Added unregister feature. Added finish screen
MODIFY
BT-Tracking.xcodeproj/project.pbxproj
BT-Tracking.xcodeproj/project.pbxproj
46F21CA92422444600C01DFA /* ScanListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46F21CA82422444600C01DFA /* ScanListVC.swift */; };
46F21CAF2422597F00C01DFA /* Scan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46F21CAE2422597F00C01DFA /* Scan.swift */; };
46F21CB4242270F700C01DFA /* ScannerStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46F21CB3242270F700C01DFA /* ScannerStore.swift */; };
+ 5E110F9C2433C4AD0059712A /* UnregisterFinishVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E110F9B2433C4AD0059712A /* UnregisterFinishVC.swift */; };
5ED9B2322432517300A24703 /* HelpVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5ED9B2312432517300A24703 /* HelpVM.swift */; };
5ED9B237243252DC00A24703 /* HelpCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5ED9B236243252DC00A24703 /* HelpCell.swift */; };
5EE9D815242F74F5002F833C /* DataHeaderCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EE9D814242F74F5002F833C /* DataHeaderCell.swift */; };
46F21CA82422444600C01DFA /* ScanListVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScanListVC.swift; sourceTree = "<group>"; };
46F21CAE2422597F00C01DFA /* Scan.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Scan.swift; sourceTree = "<group>"; };
46F21CB3242270F700C01DFA /* ScannerStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScannerStore.swift; sourceTree = "<group>"; };
+ 5E110F9B2433C4AD0059712A /* UnregisterFinishVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnregisterFinishVC.swift; sourceTree = "<group>"; };
5ED9B2312432517300A24703 /* HelpVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelpVM.swift; sourceTree = "<group>"; };
5ED9B236243252DC00A24703 /* HelpCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelpCell.swift; sourceTree = "<group>"; };
5EE9D814242F74F5002F833C /* DataHeaderCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataHeaderCell.swift; sourceTree = "<group>"; };
children = (
46A0D529242CC38900FAE9EA /* UnregisterUser.storyboard */,
80C9B102243267EF00CFCDA7 /* UnregisterUserVC.swift */,
+ 5E110F9B2433C4AD0059712A /* UnregisterFinishVC.swift */,
);
path = "Unregister User";
sourceTree = "<group>";
8054C0DD2420AF63008907B8 /* App.swift in Sources */,
805BE9772424DE0E001A93B3 /* BTDevice.swift in Sources */,
46F21CAF2422597F00C01DFA /* Scan.swift in Sources */,
+ 5E110F9C2433C4AD0059712A /* UnregisterFinishVC.swift in Sources */,
8054C0D2241FE720008907B8 /* BT.swift in Sources */,
80AD970D2429318B00AEA661 /* DataCell.swift in Sources */,
80ECB95E24290B6700E57601 /* ScanRealm.swift in Sources */,

MODIFY
BT-Tracking/Services/AppSettings.swift
BT-Tracking/Services/AppSettings.swift
@@ -41,4 +41,10 @@ struct AppSettings {
}
}
+ static func deleteAllData() {
+ AppSettings.BUID = nil
+ AppSettings.state = nil
+ AppSettings.lastUploadDate = nil
+ }
+
}

Added unregister feature. Added finish screen