Add a space between the ? and : in ternarys

This commit is contained in:
Eric Jensen
2016-03-17 10:38:51 -07:00
parent 14a389c5e0
commit 17aebcbaba
11 changed files with 17 additions and 17 deletions

View File

@@ -271,8 +271,8 @@
- (void)setTitle:(NSString *)title withFont:(UIFont *)font withColor:(UIColor *)color forState:(ASControlState)state
{
NSDictionary *attributes = @{
NSFontAttributeName: font ?: [UIFont systemFontOfSize:[UIFont buttonFontSize]],
NSForegroundColorAttributeName : color ?: [UIColor blackColor]
NSFontAttributeName: font ? : [UIFont systemFontOfSize:[UIFont buttonFontSize]],
NSForegroundColorAttributeName : color ? : [UIColor blackColor]
};
NSAttributedString *string = [[NSAttributedString alloc] initWithString:title