From f1880a88bd618ac9c1f2aab10e088eb51604f80b Mon Sep 17 00:00:00 2001 From: Selim Mustafaev Date: Fri, 18 Dec 2020 18:22:20 +0300 Subject: [PATCH] Fixed history --- AutoCat.xcodeproj/project.pbxproj | 4 + AutoCat/Base.lproj/Main.storyboard | 20 ++-- AutoCat/Controllers/CheckController.swift | 58 ++++++++-- AutoCat/Models/AudioRecord.swift | 14 ++- AutoCat/Models/Cloneable.swift | 11 ++ AutoCat/Models/Osago.swift | 29 ++++- AutoCat/Models/Vehicle.swift | 135 +++++++++++++++++++--- AutoCat/Models/VehicleAd.swift | 21 +++- AutoCat/Models/VehicleEvent.swift | 15 ++- AutoCat/Utils/RxRealmDataSource.swift | 21 +++- 10 files changed, 284 insertions(+), 44 deletions(-) create mode 100644 AutoCat/Models/Cloneable.swift diff --git a/AutoCat.xcodeproj/project.pbxproj b/AutoCat.xcodeproj/project.pbxproj index 24ad35d..a2ee777 100644 --- a/AutoCat.xcodeproj/project.pbxproj +++ b/AutoCat.xcodeproj/project.pbxproj @@ -106,6 +106,7 @@ 7AEF47A4253DC4D2001D6238 /* Eureka in Frameworks */ = {isa = PBXBuildFile; productRef = 7AEF47A3253DC4D2001D6238 /* Eureka */; }; 7AEFC3BE2529D3CC00BADFB2 /* ConfigurableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AEFC3BD2529D3CC00BADFB2 /* ConfigurableCell.swift */; }; 7AEFE728240455E200910EB7 /* SettingsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AEFE727240455E200910EB7 /* SettingsController.swift */; }; + 7AF12B1D258C9CFF0090F8B8 /* Cloneable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AF12B1C258C9CFF0090F8B8 /* Cloneable.swift */; }; 7AF58D342402A91C00CE01A0 /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = 7AF58D332402A91C00CE01A0 /* Kingfisher */; }; /* End PBXBuildFile section */ @@ -208,6 +209,7 @@ 7AE26A3424F31B0700625033 /* EventsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventsController.swift; sourceTree = ""; }; 7AEFC3BD2529D3CC00BADFB2 /* ConfigurableCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigurableCell.swift; sourceTree = ""; }; 7AEFE727240455E200910EB7 /* SettingsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsController.swift; sourceTree = ""; }; + 7AF12B1C258C9CFF0090F8B8 /* Cloneable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Cloneable.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -369,6 +371,7 @@ 7AAE6AD224CDDF950023860B /* VehicleEvent.swift */, 7A0420A925619AEC00034941 /* Osago.swift */, 7A2DE69725868AC800A113FC /* VehicleAd.swift */, + 7AF12B1C258C9CFF0090F8B8 /* Cloneable.swift */, ); path = Models; sourceTree = ""; @@ -604,6 +607,7 @@ 7A64AE762469DFB600ABE48E /* ContentTransformers.swift in Sources */, 7A11471823FDEBFA00B424AF /* ReportController.swift in Sources */, 7AE24C5F251F1B4E00758E39 /* Buttons.swift in Sources */, + 7AF12B1D258C9CFF0090F8B8 /* Cloneable.swift in Sources */, 7A11471A23FE839000B424AF /* AuthController.swift in Sources */, 7A530B7A24001D3300CBFE6E /* CheckController.swift in Sources */, 7A6E03282485951700DB22ED /* OwnersController.swift in Sources */, diff --git a/AutoCat/Base.lproj/Main.storyboard b/AutoCat/Base.lproj/Main.storyboard index e81baa6..21298ef 100644 --- a/AutoCat/Base.lproj/Main.storyboard +++ b/AutoCat/Base.lproj/Main.storyboard @@ -1,9 +1,9 @@ - + - + @@ -100,14 +100,14 @@ - + - + - +