TOCropViewController
TOCropViewController copied to clipboard
Double calling of CropViewControllerDelegate methods
Describe the bug I created a custom class that inherited from CropViewController and made an extension for this class, which implemented the CropViewControllerDelegate. When I initialized the delegate in the class constructor with a reference to the class itself, the delegate methods started executing twice.
Expected behavior Delegate methods execute once.
Additional context I made a pull request.