Skip to content

Commit 284c876

Browse files
committed
fix typo in swift function name setAspectRatioPresent
1 parent ce977bc commit 284c876

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Objective-C/TOCropViewController/TOCropViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@
388388
@param aspectRatioPreset The aspect ratio preset
389389
@param animated Whether the transition to the aspect ratio is animated
390390
*/
391-
- (void)setAspectRatioPreset:(TOCropViewControllerAspectRatioPreset)aspectRatioPreset animated:(BOOL)animated NS_SWIFT_NAME(setAspectRatioPresent(_:animated:));
391+
- (void)setAspectRatioPreset:(TOCropViewControllerAspectRatioPreset)aspectRatioPreset animated:(BOOL)animated NS_SWIFT_NAME(setAspectRatioPreset(_:animated:));
392392

393393
/**
394394
Play a custom animation of the target image zooming to its position in

Swift/CropViewController/CropViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ open class CropViewController: UIViewController, TOCropViewControllerDelegate {
542542
@param animated Whether the transition to the aspect ratio is animated
543543
*/
544544
public func setAspectRatioPreset(_ aspectRatio: CropViewControllerAspectRatioPreset, animated: Bool) {
545-
toCropViewController.setAspectRatioPresent(aspectRatio, animated: animated)
545+
toCropViewController.setAspectRatioPreset(aspectRatio, animated: animated)
546546
}
547547

548548
/**

0 commit comments

Comments
 (0)