Optional generation of extension (R.xx)
Some checks reported errors
gitea-openium/resgen.swift/pipeline/head Something is wrong with the build of this commit

Optional generation of Colors/Fonts/Images/Stringium extension
This commit is contained in:
2025-07-17 09:39:43 +02:00
parent c3b8ebfb37
commit 5b0ae8afe5
34 changed files with 973 additions and 688 deletions

View File

@@ -5,18 +5,20 @@
// Created by Loris Perret on 05/12/2023.
//
// CPD-OFF
import Foundation
enum MatomoGenerator {
static var service: String {
[
MatomoGenerator.header,
MatomoGenerator.setup,
MatomoGenerator.logScreen,
MatomoGenerator.logEvent,
MatomoGenerator.enable,
MatomoGenerator.footer
Self.header,
Self.setup,
Self.logScreen,
Self.logEvent,
Self.enable,
Self.footer
]
.joined(separator: "\n")
}
@@ -100,10 +102,10 @@ enum MatomoGenerator {
url: nil
)
}
"""
}
private static var enable: String {
"""
func setEnable(_ enable: Bool) {
@@ -115,7 +117,8 @@ enum MatomoGenerator {
private static var footer: String {
"""
}
"""
}
}
// CPD-ON