Skip to content

Commit ce8363e

Browse files
add: UIButton catalog to NRTestApp
1 parent 6e33ecf commit ce8363e

File tree

5 files changed

+545
-0
lines changed

5 files changed

+545
-0
lines changed

Test Harness/NRTestApp/NRTestApp.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/* Begin PBXBuildFile section */
1010
2B2B3FB92AEB166E00C24897 /* harvestCollector.json in Resources */ = {isa = PBXBuildFile; fileRef = 2B2B3FB32AEB166E00C24897 /* harvestCollector.json */; };
1111
2B3493712E8EF15C006DE9D0 /* MaskingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B3493692E8EF15A006DE9D0 /* MaskingView.swift */; };
12+
2B5803BE2F4540F7009D611D /* UIButtonViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B5803BD2F4540F7009D611D /* UIButtonViewController.swift */; };
13+
2B5803BF2F4540F7009D611D /* UIButtonViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B5803BD2F4540F7009D611D /* UIButtonViewController.swift */; };
1214
2B6649012DEA283000923E4D /* TextMaskingViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B6649002DEA283000923E4D /* TextMaskingViewModel.swift */; };
1315
2B6649022DEA283000923E4D /* TextMaskingViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B6649002DEA283000923E4D /* TextMaskingViewModel.swift */; };
1416
2B6649032DEA283000923E4D /* TextMaskingViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B6649002DEA283000923E4D /* TextMaskingViewModel.swift */; };
@@ -325,6 +327,7 @@
325327
2B2317DE2ADF442100D521E1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
326328
2B2B3FB32AEB166E00C24897 /* harvestCollector.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = harvestCollector.json; sourceTree = "<group>"; };
327329
2B3493692E8EF15A006DE9D0 /* MaskingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MaskingView.swift; sourceTree = "<group>"; };
330+
2B5803BD2F4540F7009D611D /* UIButtonViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIButtonViewController.swift; sourceTree = "<group>"; };
328331
2B6649002DEA283000923E4D /* TextMaskingViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextMaskingViewModel.swift; sourceTree = "<group>"; };
329332
2B69E45D2DE8F9EB00543A2E /* TextMaskingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextMaskingViewController.swift; sourceTree = "<group>"; };
330333
2B708A982ADF3AD80063110E /* NewRelic+Replace.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NewRelic+Replace.h"; sourceTree = "<group>"; };
@@ -695,6 +698,7 @@
695698
F8302B8C29707828003EC291 /* ViewControllers */ = {
696699
isa = PBXGroup;
697700
children = (
701+
2B5803BD2F4540F7009D611D /* UIButtonViewController.swift */,
698702
2B8208B82E5D0F100063E9BD /* SwiftUIViewRepresentableTestView.swift */,
699703
2B69E45D2DE8F9EB00543A2E /* TextMaskingViewController.swift */,
700704
F824A43B29AEAE2D000886A6 /* ImageFullScreen.swift */,
@@ -1259,6 +1263,7 @@
12591263
2BAE5C942E860C7D001D2B88 /* SegmentedControlsView.swift in Sources */,
12601264
F85CEDDF2ECE1DBE004A314F /* SocialMediaFeedView.swift in Sources */,
12611265
2BAE5C952E860C7D001D2B88 /* GridsView.swift in Sources */,
1266+
2B5803BF2F4540F7009D611D /* UIButtonViewController.swift in Sources */,
12621267
2BAE5C962E860C7D001D2B88 /* TextFieldsView.swift in Sources */,
12631268
2BAE5C972E860C7D001D2B88 /* DatePickersView.swift in Sources */,
12641269
2BAE5C982E860C7D001D2B88 /* ButtonsView.swift in Sources */,
@@ -1342,6 +1347,7 @@
13421347
F81061F92E16C13F00B8CC81 /* ScrollableCollectionViewController.swift in Sources */,
13431348
F86429312979CDFA002ABA01 /* Date.swift in Sources */,
13441349
F86429322979CDFA002ABA01 /* Variable.swift in Sources */,
1350+
2B5803BE2F4540F7009D611D /* UIButtonViewController.swift in Sources */,
13451351
F86429332979CDFA002ABA01 /* ApodURL.swift in Sources */,
13461352
F86429342979CDFA002ABA01 /* plistHelper.swift in Sources */,
13471353
F86429352979CDFA002ABA01 /* triggerException.m in Sources */,

Test Harness/NRTestApp/NRTestApp/Navigation/MainCoordinator.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,9 @@ class MainCoordinator: Coordinator {
133133
navigationController.pushViewController(attributedTextTestViewController, animated: true)
134134
}
135135

136+
func showUIButtonViewController() {
137+
let uiButtonViewController = ViewControllerProvider.uiButtonViewController
138+
navigationController.pushViewController(uiButtonViewController, animated: true)
139+
}
140+
136141
}

Test Harness/NRTestApp/NRTestApp/Navigation/ViewControllerProvider.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,10 @@ enum ViewControllerProvider {
6060
let viewController = AttributedTextTestViewController()
6161
return viewController
6262
}
63+
64+
static var uiButtonViewController: UIButtonViewController {
65+
let viewController = UIButtonViewController()
66+
return viewController
67+
}
6368
}
6469

0 commit comments

Comments
 (0)