[NSThread sleepForTimeInterval:2.0];
Hope help
Notes about programming on iPhone, iPad, C#, PHP, data science and other things.
[NSThread sleepForTimeInterval:2.0];
UILabel *scoreLabel = [ [UILabel alloc ] initWithFrame:CGRectMake((self.bounds.size.width / 2)-75, 0.0, 150.0, 43.0) ];
scoreLabel.textAlignment = UITextAlignmentCenter;
scoreLabel.textColor = [UIColor whiteColor];
scoreLabel.backgroundColor = [UIColor blackColor];
scoreLabel.font = [UIFont fontWithName:@"Arial Rounded MT Bold" size:(18.0)];
[self addSubview:scoreLabel];
scoreLabel.text = [NSString stringWithFormat: @"%d", @"Loading..."];
void drawText (CGContextRef myContext, char *title, int x, int y, int w, int h)
{
CGContextSelectFont (myContext, "Arial", h/10, kCGEncodingMacRoman);
CGContextSetRGBFillColor (myContext, 0, 0, 0, 0.99);
CGContextSetTextMatrix(myContext, CGAffineTransformMake(1.0,0.0, 0.0, -1.0, 0.0, 0.0));
CGContextShowTextAtPoint (myContext, x, y, title, strlen(title));
}
CGAffineTransformMake(1.0,0.0, 0.0, -1.0, 0.0, 0.0)transformation.
svnadmin dump path/to/repository | gzip > dumpfile.gz
gunzip -c dumpfile.gz | svnadmin load path/to/repository
svn export svn+ssh://usuario@server.com/home/usuario/svn/project/trunk /local/path
CGFloat RadiansToDegrees(CGFloat radians) {return radians * 180/M_PI;};
CGFloat angleXY=RadiansToDegrees(atan2(acceleration.y, acceleration.x));
textXY.text=[NSString stringWithFormat:@"%f", angleXY];