From 4a1a196854fd69719497e18621725093d89ca432 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Tue, 5 Nov 2019 12:32:32 -0500 Subject: [PATCH] typos --- MVMCoreUI.xcodeproj/project.pbxproj | 6 +++--- MVMCoreUI/Models/Decoder.swift | 2 +- MVMCoreUI/Models/Encoder.swift | 2 +- MVMCoreUI/Models/Holder.swift | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MVMCoreUI.xcodeproj/project.pbxproj b/MVMCoreUI.xcodeproj/project.pbxproj index 48ba4e50..031f4ba4 100644 --- a/MVMCoreUI.xcodeproj/project.pbxproj +++ b/MVMCoreUI.xcodeproj/project.pbxproj @@ -17,7 +17,7 @@ 01509D932327ECFB00EF99AA /* ProgressBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01509D922327ECFB00EF99AA /* ProgressBar.swift */; }; 01509D952327ED1900EF99AA /* HeadlineBodyTextButtonSwitch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01509D942327ED1900EF99AA /* HeadlineBodyTextButtonSwitch.swift */; }; 017BEB382360C6AC0024EF95 /* RadioButtonLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017BEB372360C6AC0024EF95 /* RadioButtonLabel.swift */; }; - 017BEB3A2360EEB40024EF95 /* PageModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017BEB392360EEB40024EF95 /* PageModel.swift */; }; + 017BEB3A2360EEB40024EF95 /* PageModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017BEB392360EEB40024EF95 /* PageModel.swift */; }; 017BEB3C2361EA1D0024EF95 /* MFViewController+Model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017BEB3B2361EA1D0024EF95 /* MFViewController+Model.swift */; }; 017BEB4023620A230024EF95 /* TextFieldModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017BEB3F23620A230024EF95 /* TextFieldModel.swift */; }; 017BEB4223620AD20024EF95 /* FormModelProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017BEB4123620AD20024EF95 /* FormModelProtocol.swift */; }; @@ -237,7 +237,7 @@ 01509D922327ECFB00EF99AA /* ProgressBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressBar.swift; sourceTree = ""; }; 01509D942327ED1900EF99AA /* HeadlineBodyTextButtonSwitch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeadlineBodyTextButtonSwitch.swift; sourceTree = ""; }; 017BEB372360C6AC0024EF95 /* RadioButtonLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonLabel.swift; sourceTree = ""; }; - 017BEB392360EEB40024EF95 /* PageModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PageModel.swift; sourceTree = ""; }; + 017BEB392360EEB40024EF95 /* PageModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PageModel.swift; sourceTree = ""; }; 017BEB3B2361EA1D0024EF95 /* MFViewController+Model.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MFViewController+Model.swift"; sourceTree = ""; }; 017BEB3F23620A230024EF95 /* TextFieldModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextFieldModel.swift; sourceTree = ""; }; 017BEB4123620AD20024EF95 /* FormModelProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FormModelProtocol.swift; sourceTree = ""; }; @@ -466,13 +466,13 @@ isa = PBXGroup; children = ( 017BEB392360EEB40024EF95 /* PageModel.swift */, - 01EB368723609801006832FA /* Molecules */, 01EB3685236097F1006832FA /* MoleculeHolder.swift */, 01EB3683236097C0006832FA /* MoleculeProtocol.swift */, 01EB367F236092AE006832FA /* Holder.swift */, 01EB3680236092AE006832FA /* HolderManager.swift */, 01EB367B2360929F006832FA /* Decoder.swift */, 01EB367C2360929F006832FA /* Encoder.swift */, + 01EB368723609801006832FA /* Molecules */, 01EB367623609281006832FA /* JSON */, ); path = Models; diff --git a/MVMCoreUI/Models/Decoder.swift b/MVMCoreUI/Models/Decoder.swift index d8f5513d..c04e4940 100644 --- a/MVMCoreUI/Models/Decoder.swift +++ b/MVMCoreUI/Models/Decoder.swift @@ -27,7 +27,7 @@ extension KeyedDecodingContainerProtocol { } extension Decodable { - public static func decode(fileName: String, bundle: Bundle = Bundle.main) throws -> Self{ + public static func decode(fileName: String, bundle: Bundle = Bundle.main) throws -> Self { guard let path = bundle.path(forResource: fileName, ofType: ".json") else { throw JSONError.pathNotFound } diff --git a/MVMCoreUI/Models/Encoder.swift b/MVMCoreUI/Models/Encoder.swift index 93d300f1..c8c441fd 100644 --- a/MVMCoreUI/Models/Encoder.swift +++ b/MVMCoreUI/Models/Encoder.swift @@ -19,7 +19,7 @@ extension Encodable { public func toJSONString() -> String? { guard let data = try? self.encode(), - let string = String(data: data, encoding: .utf8) else{ + let string = String(data: data, encoding: .utf8) else { return nil } return string diff --git a/MVMCoreUI/Models/Holder.swift b/MVMCoreUI/Models/Holder.swift index c8ae3f1f..8bb87a58 100644 --- a/MVMCoreUI/Models/Holder.swift +++ b/MVMCoreUI/Models/Holder.swift @@ -12,5 +12,5 @@ public protocol Holder: Codable { var name: String { get set } var object: HoldableType { get set } - init (name: String, object: HoldableType) + init(name: String, object: HoldableType) }