Download the iBook
https://itunes.apple.com/us/artist/apple-inc./id405307759?mt=11
#swift #wwdc14
Monday, June 2, 2014
Thursday, May 29, 2014
Monday, May 26, 2014
Sunday, January 12, 2014
Tuesday, September 4, 2012
Friday, July 27, 2012
Thursday, July 5, 2012
Shake Animation in xcode
CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"position"];
[animation setDelegate:self];
[UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:)];
[animation setDuration:0.05];
[animation setRepeatCount:4];
[animation setAutoreverses:YES];
[animation setFromValue:[NSValue valueWithCGPoint:
CGPointMake([v center].x - 14.0f, [v center].y)]];
[animation setToValue:[NSValue valueWithCGPoint:
CGPointMake([v center].x + 14.0f, [v center].y)]];
[[v layer] addAnimation:animation forKey:@"position"];
Subscribe to:
Posts (Atom)



.png)