Skip to content

LWKBExtensions,万能输入法的键盘使用到的类的扩展。

License

Notifications You must be signed in to change notification settings

luowei/LWKBExtensions

Repository files navigation

LWKBExtensions

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod 'LWKBExtensions'

Carthage

github "luowei/LWKBExtensions"

Author

luowei, luowei@wodedata.com

License

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

About

LWKBExtensions,万能输入法的键盘使用到的类的扩展。

Resources

License

Stars

Watchers

Forks

Packages

No packages published