//For the custom Media Player in iphone
http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-music-library-access/
//For the different snippet
http://super-mak.blogspot.in/2011/03/create-pdf-file-in-iphone-sdk.html
// For the cocos2d tutorials
http://dev.lethain.com/notes-on-cocos2d-iphone-development/
http://www.iphonegametutorials.com/2010/09/03/getting-started-with-cocos2d/
//For the encryption and decryption
https://gist.github.com/838614
//For the all type of Custom Demo like uitabbar
https://github.com/boctor/idev-recipes/tree/master/RaisedCenterTabBar
//For the rotating the any object round round
CALayer *orbit1 = [CALayer layer];
orbit1.bounds = CGRectMake(0, 0, 200, 200);
orbit1.position = self.view.center;
orbit1.cornerRadius = 100;
orbit1.borderColor = [UIColor clearColor].CGColor;
orbit1.borderWidth = 1.5;
CALayer *planet1 = [CALayer layer];
planet1.bounds = CGRectMake(0, 0, 20, 20);
planet1.position = CGPointMake(100, 0);
planet1.cornerRadius = 10;
planet1.backgroundColor = [UIColor redColor].CGColor;
[orbit1 addSublayer:planet1];
CABasicAnimation *anim1 = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
anim1.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
anim1.fromValue = [NSNumber numberWithFloat:0];
anim1.toValue = [NSNumber numberWithFloat:((360*M_PI)/180)];
anim1.repeatCount = HUGE_VALF;
anim1.duration = 8.0;
[orbit1 addAnimation:anim1 forKey:@"transform"];
[self.view.layer addSublayer:orbit1];
//For the Content side of UIScrollView
CGRect contentSize = CGRectZero;
for (UIView *subview in scrollView.subviews) {
contentSize = CGRectUnion(contentSize, subview.frame);
}
scrollView.contentSize = contentSize.size;
http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-music-library-access/
//For the different snippet
http://super-mak.blogspot.in/2011/03/create-pdf-file-in-iphone-sdk.html
// For the cocos2d tutorials
http://dev.lethain.com/notes-on-cocos2d-iphone-development/
http://www.iphonegametutorials.com/2010/09/03/getting-started-with-cocos2d/
//For the encryption and decryption
https://gist.github.com/838614
//For the all type of Custom Demo like uitabbar
https://github.com/boctor/idev-recipes/tree/master/RaisedCenterTabBar
//For the rotating the any object round round
CALayer *orbit1 = [CALayer layer];
orbit1.bounds = CGRectMake(0, 0, 200, 200);
orbit1.position = self.view.center;
orbit1.cornerRadius = 100;
orbit1.borderColor = [UIColor clearColor].CGColor;
orbit1.borderWidth = 1.5;
CALayer *planet1 = [CALayer layer];
planet1.bounds = CGRectMake(0, 0, 20, 20);
planet1.position = CGPointMake(100, 0);
planet1.cornerRadius = 10;
planet1.backgroundColor = [UIColor redColor].CGColor;
[orbit1 addSublayer:planet1];
CABasicAnimation *anim1 = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
anim1.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
anim1.fromValue = [NSNumber numberWithFloat:0];
anim1.toValue = [NSNumber numberWithFloat:((360*M_PI)/180)];
anim1.repeatCount = HUGE_VALF;
anim1.duration = 8.0;
[orbit1 addAnimation:anim1 forKey:@"transform"];
[self.view.layer addSublayer:orbit1];
//For the Content side of UIScrollView
CGRect contentSize = CGRectZero;
for (UIView *subview in scrollView.subviews) {
contentSize = CGRectUnion(contentSize, subview.frame);
}
scrollView.contentSize = contentSize.size;
No comments:
Post a Comment