Skip to content

Commit 68f7641

Browse files
committed
整理 QMUIButton 的 Demo,更新 QMUI 版本到 1.7.4
1 parent 70a0dab commit 68f7641

File tree

9 files changed

+284
-9
lines changed

9 files changed

+284
-9
lines changed

qmuidemo.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
CDE50ADB1DAA6EE5000D5414 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE50ADA1DAA6EE5000D5414 /* SystemConfiguration.framework */; };
111111
CDE50ADD1DAA6EEA000D5414 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE50ADC1DAA6EEA000D5414 /* CFNetwork.framework */; };
112112
CDE50ADF1DAA7059000D5414 /* libstdc++.6.0.9.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE50ADE1DAA7059000D5414 /* libstdc++.6.0.9.tbd */; };
113+
CDF79AAF1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CDF79AAE1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.m */; };
113114
D02F87F81EDBE8C300EE2CA8 /* QDFontViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D02F87F71EDBE8C300EE2CA8 /* QDFontViewController.m */; };
114115
D07610291EE292930048301B /* QDMarqueeLabelViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D07610281EE292930048301B /* QDMarqueeLabelViewController.m */; };
115116
FE5803331E949E1100159380 /* QDKeyboardViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FE5803311E949E1100159380 /* QDKeyboardViewController.m */; };
@@ -346,6 +347,8 @@
346347
CDE50ADA1DAA6EE5000D5414 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
347348
CDE50ADC1DAA6EEA000D5414 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
348349
CDE50ADE1DAA7059000D5414 /* libstdc++.6.0.9.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.6.0.9.tbd"; path = "usr/lib/libstdc++.6.0.9.tbd"; sourceTree = SDKROOT; };
350+
CDF79AAD1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QDButtonEdgeInsetsViewController.h; sourceTree = "<group>"; };
351+
CDF79AAE1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QDButtonEdgeInsetsViewController.m; sourceTree = "<group>"; };
349352
D02F87F61EDBE8C200EE2CA8 /* QDFontViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QDFontViewController.h; sourceTree = "<group>"; };
350353
D02F87F71EDBE8C300EE2CA8 /* QDFontViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QDFontViewController.m; sourceTree = "<group>"; };
351354
D07610271EE292930048301B /* QDMarqueeLabelViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QDMarqueeLabelViewController.h; sourceTree = "<group>"; };
@@ -705,6 +708,8 @@
705708
CDB8C9CF1DCC815A00769DF0 /* QDUIViewQMUIViewController.m */,
706709
CD4013041EFCFA300022FE2A /* QDOrientationViewController.h */,
707710
CD4013051EFCFA300022FE2A /* QDOrientationViewController.m */,
711+
CDF79AAD1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.h */,
712+
CDF79AAE1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.m */,
708713
);
709714
path = UIKit;
710715
sourceTree = "<group>";
@@ -949,6 +954,7 @@
949954
CD9207261DD49CD100AE32C0 /* QDFloatLayoutViewController.m in Sources */,
950955
CDB8CA0F1DCC815A00769DF0 /* QDNormalButtonViewController.m in Sources */,
951956
CDB8CA011DCC815A00769DF0 /* QDCollectionListViewController.m in Sources */,
957+
CDF79AAF1F16531100EE8DE9 /* QDButtonEdgeInsetsViewController.m in Sources */,
952958
CDB8CA081DCC815A00769DF0 /* QDImageViewController.m in Sources */,
953959
1679E32E1DFFC0AD0072B8A1 /* QDCustomToastAnimator.m in Sources */,
954960
CDB8CA021DCC815A00769DF0 /* QDCollectionViewDemoCell.m in Sources */,

qmuidemo/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.7.3</string>
20+
<string>1.7.4</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

qmuidemo/Modules/Common/Configuration/QMUIConfigurationTemplate.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ - (void)setupConfigurationTemplate {
177177
QMUICMI.statusbarStyleLightInitially = YES; // StatusbarStyleLightInitially : 默认的状态栏内容是否使用白色,默认为 NO,也即黑色
178178
QMUICMI.needsBackBarButtonItemTitle = NO; // NeedsBackBarButtonItemTitle : 全局是否需要返回按钮的 title,不需要则只显示一个返回image
179179
QMUICMI.hidesBottomBarWhenPushedInitially = YES; // HidesBottomBarWhenPushedInitially : QMUICommonViewController.hidesBottomBarWhenPushed 的初始值,默认为 NO,以保持与系统默认值一致,但通常建议改为 YES,因为一般只有 tabBar 首页那几个界面要求为 NO
180-
QMUICMI.navigationBarHiddenStateUsable = NO; // NavigationBarHiddenStateUsable : 是否使用 navigationBarHiddenState 来管理导航栏的显示隐藏的初始值,默认为NO
181-
QMUICMI.navigationBarHiddenStateInitially = QMUINavigationBarHiddenStateShowWithAnimated; // NavigationBarHiddenStateInitially : QMUINavigationControllerDelegate preferredNavigationBarHiddenState 的初始值,默认为QMUINavigationBarHiddenStateShowWithAnimated
180+
QMUICMI.navigationBarHiddenInitially = NO; // NavigationBarHiddenInitially : QMUINavigationControllerDelegate preferredNavigationBarHidden 的初始值,默认为NO
182181
}
183182

184183
#pragma mark - <QDThemeProtocol>

qmuidemo/Modules/Common/Configuration/QMUIConfigurationTemplateGrapefruit.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ - (void)setupConfigurationTemplate {
177177
QMUICMI.statusbarStyleLightInitially = YES; // StatusbarStyleLightInitially : 默认的状态栏内容是否使用白色,默认为 NO,也即黑色
178178
QMUICMI.needsBackBarButtonItemTitle = NO; // NeedsBackBarButtonItemTitle : 全局是否需要返回按钮的 title,不需要则只显示一个返回image
179179
QMUICMI.hidesBottomBarWhenPushedInitially = YES; // HidesBottomBarWhenPushedInitially : QMUICommonViewController.hidesBottomBarWhenPushed 的初始值,默认为 NO,以保持与系统默认值一致,但通常建议改为 YES,因为一般只有 tabBar 首页那几个界面要求为 NO
180-
QMUICMI.navigationBarHiddenStateUsable = NO; // NavigationBarHiddenStateUsable : 是否使用 navigationBarHiddenState 来管理导航栏的显示隐藏的初始值,默认为NO
181-
QMUICMI.navigationBarHiddenStateInitially = QMUINavigationBarHiddenStateShowWithAnimated; // NavigationBarHiddenStateInitially : QMUINavigationControllerDelegate preferredNavigationBarHiddenState 的初始值,默认为QMUINavigationBarHiddenStateShowWithAnimated
180+
QMUICMI.navigationBarHiddenInitially = NO; // NavigationBarHiddenInitially : QMUINavigationControllerDelegate preferredNavigationBarHidden 的初始值,默认为NO
182181
}
183182

184183
#pragma mark - <QDThemeProtocol>

qmuidemo/Modules/Common/Configuration/QMUIConfigurationTemplateGrass.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ - (void)setupConfigurationTemplate {
177177
QMUICMI.statusbarStyleLightInitially = YES; // StatusbarStyleLightInitially : 默认的状态栏内容是否使用白色,默认为 NO,也即黑色
178178
QMUICMI.needsBackBarButtonItemTitle = NO; // NeedsBackBarButtonItemTitle : 全局是否需要返回按钮的 title,不需要则只显示一个返回image
179179
QMUICMI.hidesBottomBarWhenPushedInitially = YES; // HidesBottomBarWhenPushedInitially : QMUICommonViewController.hidesBottomBarWhenPushed 的初始值,默认为 NO,以保持与系统默认值一致,但通常建议改为 YES,因为一般只有 tabBar 首页那几个界面要求为 NO
180-
QMUICMI.navigationBarHiddenStateUsable = NO; // NavigationBarHiddenStateUsable : 是否使用 navigationBarHiddenState 来管理导航栏的显示隐藏的初始值,默认为NO
181-
QMUICMI.navigationBarHiddenStateInitially = QMUINavigationBarHiddenStateShowWithAnimated; // NavigationBarHiddenStateInitially : QMUINavigationControllerDelegate preferredNavigationBarHiddenState 的初始值,默认为QMUINavigationBarHiddenStateShowWithAnimated
180+
QMUICMI.navigationBarHiddenInitially = NO; // NavigationBarHiddenInitially : QMUINavigationControllerDelegate preferredNavigationBarHidden 的初始值,默认为NO
182181
}
183182

184183
#pragma mark - <QDThemeProtocol>

qmuidemo/Modules/Common/Configuration/QMUIConfigurationTemplatePinkRose.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ - (void)setupConfigurationTemplate {
177177
QMUICMI.statusbarStyleLightInitially = YES; // StatusbarStyleLightInitially : 默认的状态栏内容是否使用白色,默认为 NO,也即黑色
178178
QMUICMI.needsBackBarButtonItemTitle = NO; // NeedsBackBarButtonItemTitle : 全局是否需要返回按钮的 title,不需要则只显示一个返回image
179179
QMUICMI.hidesBottomBarWhenPushedInitially = YES; // HidesBottomBarWhenPushedInitially : QMUICommonViewController.hidesBottomBarWhenPushed 的初始值,默认为 NO,以保持与系统默认值一致,但通常建议改为 YES,因为一般只有 tabBar 首页那几个界面要求为 NO
180-
QMUICMI.navigationBarHiddenStateUsable = NO; // NavigationBarHiddenStateUsable : 是否使用 navigationBarHiddenState 来管理导航栏的显示隐藏的初始值,默认为NO
181-
QMUICMI.navigationBarHiddenStateInitially = QMUINavigationBarHiddenStateShowWithAnimated; // NavigationBarHiddenStateInitially : QMUINavigationControllerDelegate preferredNavigationBarHiddenState 的初始值,默认为QMUINavigationBarHiddenStateShowWithAnimated
180+
QMUICMI.navigationBarHiddenInitially = NO; // NavigationBarHiddenInitially : QMUINavigationControllerDelegate preferredNavigationBarHidden 的初始值,默认为NO
182181
}
183182

184183
#pragma mark - <QDThemeProtocol>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// QDButtonEdgeInsetsViewController.h
3+
// qmuidemo
4+
//
5+
// Created by MoLice on 2017/7/12.
6+
// Copyright © 2017年 QMUI Team. All rights reserved.
7+
//
8+
9+
#import "QDCommonViewController.h"
10+
11+
@interface QDButtonEdgeInsetsViewController : QDCommonViewController
12+
13+
@end

0 commit comments

Comments
 (0)