本项目由 Friend-LGA/LGHelper fork 而来,又根据自己的需求增加了一些宏定义,并且没有合并到 Friend-LGA/LGHelper的项目当中。
iOS helper 包含了很多有用的宏和方法
Download repository, then add LGHelper directory to your project.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. To install with cocoaPods, follow the "Get Started" section on CocoaPods.
platform :ios, '6.0'
pod 'LGHelper', :git => 'https://github.com/smartdj/LGHelper.git'Carthage is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods. To install with carthage, follow the instruction on Carthage.
github "smartdj/LGHelper" ~> 1.1.0
In the source files where you need to use the library, import the header file:
#import "LGHelper.h"For more details see LGHelper.h
LGHelper is released under the MIT license. See LICENSE for details.