jfi

JFImagePicker

高性能多选图片库

Showing:

Popularity

Downloads/wk

0

GitHub Stars

593

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Categories

Readme

JFImagePicker

高性能多选图片库

###功能

多选照片

预览已选照片

针对超大图片优化

###Podfile

platform :ios, '7.0'
pod 'JFImagePicker'

###How to Use

Import
#import "JFImagePickerController.h"

@interface ViewController () <JFImagePickerDelegate>

@end

Load JFImagePicker
JFImagePickerController *picker = [[JFImagePickerController alloc] initWithRootViewController:nil];
picker.pickerDelegate = self;
[self presentViewController:picker animated:YES completion:nil];
Delegate Method
- (void)imagePickerDidFinished:(JFImagePickerController *)picker{ 
    //picker.assets is all choices photo
    [picker dismissViewControllerAnimated:YES completion:nil];
}

- (void)imagePickerDidCancel:(JFImagePickerController *)picker{
    [picker dismissViewControllerAnimated:YES completion:nil];
}
Load Thumb UIImage
[[JFImageManager sharedManager] thumbWithAsset:asset resultHandler:^(UIImage *result) {
    //do something
}];
Load UIImage for best size
[[JFImageManager sharedManager] imageWithAsset:asset resultHandler:^(UIImage *result) {
    //do something
}];
clear
[JFImagePickerController clear];  //clear datas

#License

JFImagePicker is released under the MIT license. See LICENSE for details.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100