From e084bde970d227e1b66f7dbb8e1a770ea26312cc Mon Sep 17 00:00:00 2001 From: kaiinui Date: Mon, 15 Sep 2014 04:36:40 +0900 Subject: [PATCH] typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 129b34f..c2fc660 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ UIColor *startColor = [UIColor uig_emeraldWaterStartColor]; UIColor *endColor = [UIColor uig_emeraldWaterEndColor]; CAGradientLayer *gradient = [CAGradientLayer layer]; -gradient.frame = progressView.bounds; +gradient.frame = view.bounds; gradient.startPoint = CGPointMake(0, 0); gradient.endPoint = CGPointMake(view.frame.size.width, 0); gradient.colors = @[(id)[startColor CGColor], (id)[endColor CGColor], nil]; @@ -442,4 +442,4 @@ Just clone and ``` curl https://raw.githubusercontent.com/Ghosh/uiGradients/master/gradients.json | ruby parse.rb -``` \ No newline at end of file +```