To run the example project, clone the repo, and run pod install
from the Example directory first.
@interface NSArray (KBExtension)
//解析Emoji表情ini文件字符串
+ (NSArray *)dictFromEmoticonIni:(NSString *)iniString;
@end
@interface NSString (KBExtension)
- (CGFloat)widthWithFont:(UIFont *)font;
- (CGFloat)heigthWithWidth:(CGFloat)width andFont:(UIFont *)font;
- (void)enumerateCharactersUsingBlock:(void (^)(NSString *character, NSInteger idx, bool *stop))block;
-(NSString *)URLDecode;
-(NSString *)URLEncode;
@end
@interface NSString (UIImage)
- (UIImage *)image:(CGSize)size;
@end
@interface UIImageView (Rotate)
- (void)rotate360WithDuration:(CGFloat)duration repeatCount:(float)repeatCount;
- (void)pauseAnimations;
- (void)resumeAnimations;
- (void)stopAllAnimations;
@end
@interface UIImageView (Extension)
- (void)setBorder:(CGFloat)borderWidth color:(UIColor*)color;
@end
LWKBExtensions is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LWKBExtensions'
Carthage
github "luowei/LWKBExtensions"
luowei, luowei@wodedata.com
LWKBExtensions is available under the MIT license. See the LICENSE file for more info.