From beaf86b5ea25d4190811bea89ff24ae0f1cee397 Mon Sep 17 00:00:00 2001 From: Vlad Date: Tue, 9 Jun 2020 14:37:56 +0300 Subject: [PATCH] Add String Constants --- foldernames.txt | 1 - .../project/Appearance/String+Constants.swift | 23 +++++++++++++++++++ templates/project.mustache | 2 -- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 sources/project/Appearance/String+Constants.swift diff --git a/foldernames.txt b/foldernames.txt index 317c9d2..d755547 100644 --- a/foldernames.txt +++ b/foldernames.txt @@ -1,5 +1,4 @@ Analytics -Appearance Cells Controllers Extensions diff --git a/sources/project/Appearance/String+Constants.swift b/sources/project/Appearance/String+Constants.swift new file mode 100644 index 0000000..a8ace11 --- /dev/null +++ b/sources/project/Appearance/String+Constants.swift @@ -0,0 +1,23 @@ +extension String { + static let newLine = "\n" + + static let empty = "" + + static let whiteSpace = " " + + static let dot = "." + + static let comma = "," + + static let zero = "0" + + static let leftSquareBracket = "[" + + static let rightSquareBracket = "]" + + static let asterisk = "*" + + static let rightArrow = "›" + + static let underscore = "_" +} diff --git a/templates/project.mustache b/templates/project.mustache index 2964960..cf7eec1 100644 --- a/templates/project.mustache +++ b/templates/project.mustache @@ -50,8 +50,6 @@ targets: - "Info.plist" - path: {{project_name}}/Analytics buildPhase: sources - - path: {{project_name}}/Appearance - buildPhase: sources - path: {{project_name}}/Cells buildPhase: sources - path: {{project_name}}/Controllers