Skip to content

Commit 6509271

Browse files
author
Ilya Makarevich
committed
fix HTML warning, fix param name - cropRect
1 parent 1f8466d commit 6509271

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Swift/CropViewController/CropViewController.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public typealias CropViewControllerToolbarPosition = TOCropViewControllerToolbar
3939
*/
4040
public typealias CropViewCroppingStyle = TOCropViewCroppingStyle
4141

42-
///------------------------------------------------
42+
// ------------------------------------------------
4343
/// @name Delegate
44-
///------------------------------------------------
44+
// ------------------------------------------------
4545

4646
@objc public protocol CropViewControllerDelegate: NSObjectProtocol {
4747
/**
@@ -51,7 +51,7 @@ public typealias CropViewCroppingStyle = TOCropViewCroppingStyle
5151
@param cropRect A rectangle indicating the crop region of the image the user chose (In the original image's local co-ordinate space)
5252
@param angle The angle of the image when it was cropped
5353
*/
54-
@objc optional func cropViewController(_ cropViewController: CropViewController, didCropImageToRect rect: CGRect, angle: Int)
54+
@objc optional func cropViewController(_ cropViewController: CropViewController, didCropImageToRect cropRect: CGRect, angle: Int)
5555

5656
/**
5757
Called when the user has committed the crop action, and provides
@@ -84,9 +84,9 @@ public typealias CropViewCroppingStyle = TOCropViewCroppingStyle
8484
@objc optional func cropViewController(_ cropViewController: CropViewController, didFinishCancelled cancelled: Bool)
8585
}
8686

87-
///------------------------------------------------
87+
// ------------------------------------------------
8888
/// @name Class
89-
///------------------------------------------------
89+
// ------------------------------------------------
9090

9191
open class CropViewController: UIViewController, TOCropViewControllerDelegate {
9292

@@ -474,9 +474,9 @@ open class CropViewController: UIViewController, TOCropViewControllerDelegate {
474474
return UIRectEdge.all
475475
}
476476

477-
///------------------------------------------------
477+
// ------------------------------------------------
478478
/// @name Object Creation
479-
///------------------------------------------------
479+
// ------------------------------------------------
480480

481481
/**
482482
Creates a new instance of a crop view controller with the supplied image

0 commit comments

Comments
 (0)