TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Feb 2017 |
Maintained by Cong Ma.
1.定义了常用的宏,比如屏幕宽高,颜色设置等
2.使用的时候只需要导入MCCommonMacroDefine.h 头文件就可以使用.
1.根据16进制设置颜色 btn.backgroundColor = [UIColor colorWithHexadecimalString:@"00bf99" alpha:1.0];
2.尺寸 MCScreenWidth(屏幕宽度) MCScreenHeight(屏幕高度) CURRENT_SYS_VERSION(当前版本号)
target 'YourApp' do
pod 'MCCommonMacroDefine', '~> 1.1.1’
end
qq: 271269841
To run the example project, clone the repo, and run pod install
from the Example directory first.
MCCommonMacroDefine is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MCCommonMacroDefine"
macong0420, [email protected]
MCCommonMacroDefine is available under the MIT license. See the LICENSE file for more info.