Skip to content

Commit a052739

Browse files
committed
Make buttons public
1 parent 21e7f7b commit a052739

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

Example/WRNavigationBar_swift.xcodeproj/project.pbxproj

+5-7
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
674BDFB6759A869CA78AA223 /* Pods_WRNavigationBar_swift_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WRNavigationBar_swift_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8080
8A798F447A512F554761A078 /* Pods-WRNavigationBar_swift_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WRNavigationBar_swift_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-WRNavigationBar_swift_Tests/Pods-WRNavigationBar_swift_Tests.release.xcconfig"; sourceTree = "<group>"; };
8181
95AD45F4B1519FF22CE4A582 /* Pods-WRNavigationBar_swift_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WRNavigationBar_swift_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-WRNavigationBar_swift_Tests/Pods-WRNavigationBar_swift_Tests.debug.xcconfig"; sourceTree = "<group>"; };
82-
B0BBA55420B4316A4E7F8CC6 /* WRNavigationBar_swift.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = WRNavigationBar_swift.podspec; path = ../WRNavigationBar_swift.podspec; sourceTree = "<group>"; };
82+
B0BBA55420B4316A4E7F8CC6 /* WRNavigationBar_swift.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = WRNavigationBar_swift.podspec; path = ../WRNavigationBar_swift.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
8383
E04A31239948BC169A0C854F /* Pods_WRNavigationBar_swift_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WRNavigationBar_swift_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8484
/* End PBXFileReference section */
8585

@@ -287,12 +287,10 @@
287287
TargetAttributes = {
288288
607FACCF1AFB9204008FA782 = {
289289
CreatedOnToolsVersion = 6.3.1;
290-
DevelopmentTeam = P3X2725LYY;
291290
LastSwiftMigration = 0900;
292291
};
293292
607FACE41AFB9204008FA782 = {
294293
CreatedOnToolsVersion = 6.3.1;
295-
DevelopmentTeam = P3X2725LYY;
296294
LastSwiftMigration = 0900;
297295
TestTargetID = 607FACCF1AFB9204008FA782;
298296
};
@@ -567,7 +565,7 @@
567565
baseConfigurationReference = 3C739D7B7E47049E273E27D6 /* Pods-WRNavigationBar_swift_Example.debug.xcconfig */;
568566
buildSettings = {
569567
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
570-
DEVELOPMENT_TEAM = P3X2725LYY;
568+
DEVELOPMENT_TEAM = "";
571569
INFOPLIST_FILE = WRNavigationBar_swift/Info.plist;
572570
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
573571
MODULE_NAME = ExampleApp;
@@ -583,7 +581,7 @@
583581
baseConfigurationReference = 1CE6177B91612B092B9820D6 /* Pods-WRNavigationBar_swift_Example.release.xcconfig */;
584582
buildSettings = {
585583
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
586-
DEVELOPMENT_TEAM = P3X2725LYY;
584+
DEVELOPMENT_TEAM = "";
587585
INFOPLIST_FILE = WRNavigationBar_swift/Info.plist;
588586
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
589587
MODULE_NAME = ExampleApp;
@@ -598,7 +596,7 @@
598596
isa = XCBuildConfiguration;
599597
baseConfigurationReference = 95AD45F4B1519FF22CE4A582 /* Pods-WRNavigationBar_swift_Tests.debug.xcconfig */;
600598
buildSettings = {
601-
DEVELOPMENT_TEAM = P3X2725LYY;
599+
DEVELOPMENT_TEAM = "";
602600
FRAMEWORK_SEARCH_PATHS = (
603601
"$(SDKROOT)/Developer/Library/Frameworks",
604602
"$(inherited)",
@@ -621,7 +619,7 @@
621619
isa = XCBuildConfiguration;
622620
baseConfigurationReference = 8A798F447A512F554761A078 /* Pods-WRNavigationBar_swift_Tests.release.xcconfig */;
623621
buildSettings = {
624-
DEVELOPMENT_TEAM = P3X2725LYY;
622+
DEVELOPMENT_TEAM = "";
625623
FRAMEWORK_SEARCH_PATHS = (
626624
"$(SDKROOT)/Developer/Library/Frameworks",
627625
"$(inherited)",

WRNavigationBar_swift/Classes/WRCustomNavigationBar.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ public class WRCustomNavigationBar: UIView
112112
return label
113113
}()
114114

115-
fileprivate lazy var leftButton:UIButton = {
115+
public lazy var leftButton:UIButton = {
116116
let button = UIButton()
117117
button.imageView?.contentMode = .center
118118
button.isHidden = true
119119
button.addTarget(self, action: #selector(clickBack), for: .touchUpInside)
120120
return button
121121
}()
122122

123-
fileprivate lazy var rightButton:UIButton = {
123+
public lazy var rightButton:UIButton = {
124124
let button = UIButton()
125125
button.imageView?.contentMode = .center
126126
button.isHidden = true

0 commit comments

Comments
 (0)