- Fork this repo into your project.
- Customize or localize texts
- In case you have create new AbstractPermission subclass - please, make pull request for original reposetory
class ViewController: UIViewController {
@IBAction func onButtonClick() {
let galleryPermissions = Permission()
galleryPermissions.preparePermission(self) { (granted) in
if granted {
self.performSegueWithIdentifier("showGallery", sender: self)
}
}