/SBAImagePickerController

An easy multiple image picker controller for photo library.

Primary LanguageSwiftMIT LicenseMIT

SBAImagePickerController

An easy multiple image picker controller for photo library.

CocoaPods

          

Installation

Use CocoaPods.

pod 'SBAImagePickerController'

Usage

Show SBAImagePickerController

    let controller = SBAMultipleImagePickerController.init(rootViewCOntroler: self,maximumImages: 5) {[weak self] (images, cancel) in
        guard let _ = self else{return}
        print(images?.count ?? 0)
     }
     controller.push()

Present SBAImagePickerController

   let coordinator = SBAMultipleImagePickerController.init(rootViewCOntroler: self,maximumImages: 5) {[weak self] (images, cancel) in
       guard let _ = self else{return}
       print(images?.count ?? 0)
    }
    coordinator.present()

Translate

    coordinator.translate {[weak self] (key) -> String in
         guard let _ = self else{return ""}
         return NSLocalizedString(key, comment: "")
    }

Congratulations! You're done.

License

SBAImagePickerController is under MIT. See LICENSE file for more info.