From 606b06798eea1b8d6d342e60e364c45655921ebb Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 22 Jun 2023 15:25:13 -0500 Subject: [PATCH] updated version, added in extra Label setters Signed-off-by: Matt Bruce --- VDSSample.xcodeproj/project.pbxproj | 4 +- .../ViewControllers/BaseViewController.swift | 1 + .../ViewControllers/LabelViewController.swift | 86 ++++++++++++++++++- 3 files changed, 85 insertions(+), 6 deletions(-) diff --git a/VDSSample.xcodeproj/project.pbxproj b/VDSSample.xcodeproj/project.pbxproj index 3ce0d7c..1812e63 100644 --- a/VDSSample.xcodeproj/project.pbxproj +++ b/VDSSample.xcodeproj/project.pbxproj @@ -659,7 +659,7 @@ ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 24; + CURRENT_PROJECT_VERSION = 25; DEVELOPMENT_TEAM = FCMA4QKS77; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = VDSSample/Info.plist; @@ -691,7 +691,7 @@ ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 24; + CURRENT_PROJECT_VERSION = 25; DEVELOPMENT_TEAM = FCMA4QKS77; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = VDSSample/Info.plist; diff --git a/VDSSample/ViewControllers/BaseViewController.swift b/VDSSample/ViewControllers/BaseViewController.swift index 8e86c0c..aaeec8c 100644 --- a/VDSSample/ViewControllers/BaseViewController.swift +++ b/VDSSample/ViewControllers/BaseViewController.swift @@ -53,6 +53,7 @@ public class FormSection: UIStackView { } let label = Label().with { + $0.tag = 1 $0.text = label $0.textStyle = .bodyLarge } diff --git a/VDSSample/ViewControllers/LabelViewController.swift b/VDSSample/ViewControllers/LabelViewController.swift index 2f8298f..dfd320b 100644 --- a/VDSSample/ViewControllers/LabelViewController.swift +++ b/VDSSample/ViewControllers/LabelViewController.swift @@ -27,20 +27,30 @@ class LabelViewController: BaseViewController