Bugs fixes, Lint fixes, Refactoring
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit

This commit is contained in:
t.schmitt committed 2022-08-29 13:38:49 +02:00
1 parent e3f90e0d48
commit a54a264447
35 files changed
+652 -401

No files matched your search

@@ -0,0 +1,16 @@
//
// File.swift
//
//
// Created by Thibaut Schmitt on 29/08/2022.
//
import Foundation
class FontFileParser {
static func parse(_ inputFile: String) -> [String] {
let inputFileContent = try! String(contentsOfFile: inputFile,
encoding: .utf8)
return inputFileContent.components(separatedBy: CharacterSet.newlines)
}
}