Latest 1.0.0
Homepage https://github.com/Meniny/MXImagePicker-in-Objective-C
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit, Photos

MXImagePicker-in-Objective-C

MXImagePicker is an image picker for iOS platform.

Installation with CocoaPods

pod 'MXImagePicker'

Usage

#import "MXImagePicker.h"
<MXImagePickerControllerDelegate>
MXImagePickerController *imagePickerController = [MXImagePickerController new];
imagePickerController.mediaType = MXImagePickerMediaTypeImage;
//imagePickerController.mediaType = MXImagePickerMediaTypeVideo;
imagePickerController.allowsMultipleSelection = YES;
imagePickerController.showsNumberOfSelectedAssets = YES;
imagePickerController.minimumNumberOfSelection = 1;
imagePickerController.maximumNumberOfSelection = 10;
imagePickerController.delegate = self;
[self presentViewController:imagePickerController animated:YES completion:NULL];
- (void)mx_imagePickerControllerDidCancel:(MXImagePickerController *)imagePickerController {

}

- (void)mx_imagePickerController:(MXImagePickerController *)imagePickerController didFinishPickingAssets:(NSArray <PHAsset *>*)assets {

}

Latest podspec

{
    "name": "MXImagePicker",
    "version": "1.0.0",
    "summary": "An image picker for iOS platform.",
    "description": "The first stable version of MXImagePicker, an image picker for iOS platform.",
    "homepage": "https://github.com/Meniny/MXImagePicker-in-Objective-C",
    "license": "MIT",
    "authors": "Elias Abel",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Meniny/MXImagePicker-in-Objective-C.git",
        "tag": "1.0.0"
    },
    "source_files": "MXImagePicker/**/*.{h,m}",
    "resources": "MXImagePicker/Resources/*",
    "frameworks": [
        "Foundation",
        "UIKit",
        "Photos"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This