Im trying to use RSKImageCropper in my Swift project but dont know how. I have an Bridging-header file with this line of code
#import "RSKImageCropViewController.h"
In my Controller i can create an instance of RSKImageCropViewController like this
let imageCropVC = RSKImageCropViewController()
but after that, i cant get it to work. When calling imageCropVC.initWithImage()
i get an error.
Im trying to convert the example Objectiv-C methode on the github page to Swift.
What am i doing wrong? Is it even possible to use this library in my Swift project? It would be nice if someone could post the right code in Swift.
Thanks