mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Merge branch 'master' of github.com:philsquared/Catch
# By Alexander Manenko # Via Alexander Manenko (1) and Phil Nash (1) * 'master' of github.com:philsquared/Catch: Fix build issue with TchRunnerMainView in XCode 5
This commit is contained in:
commit
cfc37b5fe9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user