From 39e0430e620cab1acec76d65316ee9a9eb4c9f75 Mon Sep 17 00:00:00 2001 From: Anti_Moron Date: Thu, 22 Oct 2015 10:59:09 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 104f726..9c2bdab 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ iterationDuration is how long each shake iteration will last. You may want to se ```objective-c UIView *view = ...; // Grab a view from somewhere -[view beginShakingWithOptions:SCShakeOptionsDirectionRotate | SCShakeOptionsForceInterpolationExpDown | SCShakeOptionsAtEndRestart | SCShakeOptionsAutoreverse force:0.15 duration:1 iterationDuration:0.03 completionHandler:nil]; +[view shakeWithOptions:SCShakeOptionsDirectionRotate | SCShakeOptionsForceInterpolationExpDown | SCShakeOptionsAtEndRestart | SCShakeOptionsAutoreverse force:0.15 duration:1 iterationDuration:0.03 completionHandler:nil]; ``` ## Options