From 3627ee6f2e0d01ed30a5679a46074169acdbf330 Mon Sep 17 00:00:00 2001 From: Alexander Manenko Date: Sun, 30 Mar 2014 18:33:40 +0300 Subject: [PATCH] Fix build issue with TchRunnerMainView in XCode 5 --- projects/runners/iTchRunner/internal/iTchRunnerMainView.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/runners/iTchRunner/internal/iTchRunnerMainView.h b/projects/runners/iTchRunner/internal/iTchRunnerMainView.h index f63fbb0..ee78004 100644 --- a/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +++ b/projects/runners/iTchRunner/internal/iTchRunnerMainView.h @@ -37,18 +37,18 @@ { // Initialization code self.backgroundColor = [UIColor blackColor]; - + appName = [[UITextField alloc] initWithFrame: CGRectMake( 0, 50, 320, 50 )]; [self addSubview: appName]; arcSafeRelease( appName ); appName.textColor = [[UIColor alloc] initWithRed:0.35 green:0.35 blue:1 alpha:1]; arcSafeRelease( appName.textColor ); - appName.textAlignment = UITextAlignmentCenter; // or NSTextAlignmentCenter - + appName.textAlignment = NSTextAlignmentCenter; + appName.text = [NSString stringWithFormat:@"CATCH tests"]; // [self performSelector: @selector(showAlert) withObject:nil afterDelay:0.1]; [self performSelectorOnMainThread:@selector(showAlert) withObject:nil waitUntilDone:NO]; - + } return self; }