Skip to content

Commit 3a5ce16

Browse files
committed
force clang to ignore setting deprecated textColor
1 parent a43c092 commit 3a5ce16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Classes/MobileTerminalAppDelegate.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application {
1515
[UITableView appearance].backgroundColor = [UIColor blackColor];
1616
[UITableView appearance].separatorColor = [UIColor colorWithWhite:0 alpha:1];
1717
[UITableViewCell appearance].backgroundColor = [UIColor colorWithWhite:0.1176470588f alpha:1];
18-
[UITableViewCell appearance].textColor = [UIColor whiteColor];
18+
#pragma clang diagnostic push
19+
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
20+
[UITableViewCell appearance].textColor = [UIColor whiteColor]; // please make this easier apple.
21+
#pragma clang diagnostic pop
1922

2023
UIView *selectedBackgroundView = [[[UIView alloc] init] autorelease];
2124
selectedBackgroundView.backgroundColor = [UIColor colorWithWhite:0.2078431373f alpha:1];

0 commit comments

Comments
 (0)