Latest 1.0.1
Homepage https://github.com/zengyun-programmer/MMMacro
License MIT The MIT License (MIT)
[OSI Approved License]
The MIT License (MIT)

Copyright (c) 2014 Programmer Du

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Authors

This repository collects useful macros for iOS projects.

Include the head files in your .pch file and set the DEBUG flag for debug configuration.

Reference:

  1. How to print out the method name and line number and conditionally disable NSLog?
  2. How to Do Dynamic Debug Logging in Released Application
  3. My current prefix.pch file

Waiting to Add

  1. 【首页推荐】ios开发常用的宏,大家一起来收集~

Latest podspec

{
    "name": "MMMacro",
    "version": "1.0.1",
    "summary": "A common macro definition for iOS",
    "homepage": "https://github.com/zengyun-programmer/MMMacro",
    "license": {
        "type": "MIT",
        "text": "    The MIT License (MIT)n[OSI Approved License]nThe MIT License (MIT)nnCopyright (c) 2014 Programmer DunnPermission is hereby granted, free of charge, to any person obtaining a copynof this software and associated documentation files (the "Software"), to dealnin the Software without restriction, including without limitation the rightsnto use, copy, modify, merge, publish, distribute, sublicense, and/or sellncopies of the Software, and to permit persons to whom the Software isnfurnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included innall copies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORnIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEnAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERnLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INnTHE SOFTWARE.n"
    },
    "authors": {
        "Programmer Du": "[email protected]"
    },
    "source": {
        "git": "[email protected]:zengyun-programmer/MMMacro.git",
        "tag": "v1.0.1"
    },
    "source_files": "MMDebugging.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This