How can I use PromiseKit/Photos any example? I am not able to find any docs for Photos in particular.
I have implemented like below and i am able to receive request
_ = PHPhotoLibrary.requestAuthorization().then(execute: { (status) -> Void in print(status.rawValue) })
Anything better than above implementation would be helpful.