Skip to content
This repository
Browse code

Fixed Readme to include addition of CGSize.

  • Loading branch information...
commit 20603ef7682f5d6b7195c6a20ed3905d09e8a800 1 parent 613b417
Ludwig Schubert authored July 29, 2012

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  README.md
8  README.md
Source Rendered
@@ -239,13 +239,17 @@ Sometimes you will find it necessary to animate a complex value, such as a `CGPo
239 239
 PRTweenCGPointLerpPeriod *period = [PRTweenCGPointLerpPeriod periodWithStartCGPoint:CGPointMake(0, 0) endCGPoint:CGPointMake(100, 100) duration:2];
240 240
 ```
241 241
 
242  
-PRTween currently has built-in lerps for `CGPoint` and `CGRect` through `PRTweenCGPointLerpPeriod` and `PRTweenCGRectLerpPeriod`. Lerps are also available as shorthands:
  242
+PRTween currently has built-in lerps for `CGPoint` and `CGRect` and `CGSize` through `PRTweenCGPointLerpPeriod`, `PRTweenCGRectLerpPeriod` and `PRTweenCGSizeLerpPeriod`. Lerps are also available as shorthands:
243 243
 
244 244
 ```objective-c
245 245
 // for CGPoint
246 246
 [PRTweenCGPointLerp lerp:property:from:to:duration:timingFunction:target:completeSelector:]
247 247
 [PRTweenCGPointLerp lerp:property:from:to:duration:]
248 248
 
  249
+// for CGSize
  250
+[PRTweenCGSizeLerp lerp:property:from:to:duration:timingFunction:target:completeSelector:]
  251
+[PRTweenCGSizeLerp lerp:property:from:to:duration:]
  252
+
249 253
 // for CGRect
250 254
 [PRTweenCGRectLerp lerp:property:from:to:duration:timingFunction:target:completeSelector:]
251 255
 [PRTweenCGRectLerp lerp:property:from:to:duration:]
@@ -253,6 +257,7 @@ PRTween currently has built-in lerps for `CGPoint` and `CGRect` through `PRTween
253 257
 
254 258
 // blocks for iOS 4 or greater
255 259
 [PRTweenCGPointLerp lerp:property:from:to:duration:timingFunction:target:updateBlock:completeBlock:]
  260
+[PRTweenCGSizeLerp lerp:property:from:to:duration:timingFunction:target:updateBlock:completeBlock:]
256 261
 [PRTweenCGRectLerp lerp:property:from:to:duration:timingFunction:target:updateBlock:completeBlock:]
257 262
 ```
258 263
 
@@ -283,6 +288,7 @@ Contributors
283 288
 * [Dominik Hofmann](https://github.com/dominikhofmann/)
284 289
 * [Matt Herzog](https://github.com/mattherzog/)
285 290
 * [Robert Brisita](https://github.com/transmitiveRB/)
  291
+* [Ludwig Schubert](https://github.com/ludwigschubert)
286 292
 
287 293
 License
288 294
 ===

0 notes on commit 20603ef

Please sign in to comment.
Something went wrong with that request. Please try again.