Southgis 常用 Foundation 和 UKit。它是 Foundation 和 UKit 的类别,例如 NSObject 类别,NSTimer 类别,UIColor 类别等。
Xcode 6 或更高版本
Apple LLVM 编译器
iOS 7.0 或更高版本
ARC
/** Foundation 类的类别 */
#import "NSObject+SGS.h"
#import "NSString+SGS.h"
#import "NSData+SGS.h"
#import "NSArray+SGS.h"
#import "NSDictionary+SGS.h"
#import "NSDate+SGS.h"
#import "NSNumber+SGS.h"
#import "NSTimer+SGS.h"
#import "NSNotificationCenter+SGS.h"
#import "NSFileManager+SGS.h"
/** UIKit 类的类别 */
#import "UIColor+SGS.h"
#import "UIFont+SGS.h"
#import "UIImage+SGS.h"
#import "UIView+SGS.h"
#import "UIImageView+SGS.h"
#import "UIButton+SGS.h"
#import "UISearchBar+SGS.h"
将 "SGSCategories.h" 头文件导入到您的项目中,然后您可以使用这些类别。
#import "SGSCategories.h"
pod 'SouthgisUKit'