From a64a9562544616f5dfda97df8d74ae73578db6f5 Mon Sep 17 00:00:00 2001 From: Thibaut Schmitt Date: Thu, 17 Jul 2025 09:39:43 +0200 Subject: [PATCH] Optional generation of Colors extension --- .../Colors/colors.xcassets/Colors/Contents.json | 6 ++++++ .../Tags/Generated/Analytics+GenAllScript.swift | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 SampleFiles/Colors/colors.xcassets/Colors/Contents.json diff --git a/SampleFiles/Colors/colors.xcassets/Colors/Contents.json b/SampleFiles/Colors/colors.xcassets/Colors/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SampleFiles/Colors/colors.xcassets/Colors/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift b/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift index 8742801..2872710 100644 --- a/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift +++ b/SampleFiles/Tags/Generated/Analytics+GenAllScript.swift @@ -1,5 +1,6 @@ // Generated by ResgenSwift.Analytics 2.1.0 +import Foundation import MatomoTracker import FirebaseAnalytics @@ -254,20 +255,20 @@ class AnalyticsManager { // MARK: - section_one - static func logScreenS1DefOne(title: String) { - AnalyticsManager.shared.logScreen( + func logScreenS1DefOne(title: String) { + logScreen( name: "s1 def one \(title)", path: "s1_def_one/\(title)", params: nil ) } - static func logEventS1DefTwo( + func logEventS1DefTwo( title: String, count: String, test2: String = "test" ) { - AnalyticsManager.shared.logEvent( + logEvent( name: "s1 def two", action: "test", category: "test", @@ -282,8 +283,8 @@ class AnalyticsManager { // MARK: - section_two - static func logScreenS2DefOne() { - AnalyticsManager.shared.logScreen( + func logScreenS2DefOne() { + logScreen( name: "s2 def one", path: "s2_def_one/", params: nil