Latest 1.1.2
Homepage https://github.com/macong0420/MCCommonMacroDefine
License MIT
Platforms ios 8.0
Authors
 1.定义了常用的宏,比如屏幕宽高,颜色设置等

    2.使用的时候只需要导入MCCommonMacroDefine.h 头文件就可以使用.

使用用例

   1.根据16进制设置颜色 btn.backgroundColor = [UIColor colorWithHexadecimalString:@"00bf99" alpha:1.0];

   2.尺寸 MCScreenWidth(屏幕宽度) MCScreenHeight(屏幕高度) CURRENT_SYS_VERSION(当前版本号)

pod MCCommonMacroDefine

 

target 'YourApp' do

pod 'MCCommonMacroDefine', '~> 1.1.1’

end

联系我

qq: 271269841

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

MCCommonMacroDefine is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MCCommonMacroDefine"

Author

macong0420, [email protected]

License

MCCommonMacroDefine is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MCCommonMacroDefine",
    "version": "1.1.2",
    "summary": "MCCommonMacroDefine defines some macro",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/macong0420/MCCommonMacroDefine",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "macong0420": "[email protected]"
    },
    "source": {
        "git": "https://github.com/macong0420/MCCommonMacroDefine.git",
        "tag": "1.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MCCommonMacroDefine/Classes/**/*"
}

Pin It on Pinterest

Share This