Skip to content

Commit d9283e6

Browse files
committed
remove '_Nonnull'
1 parent 952d645 commit d9283e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YYText/Utility/NSAttributedString+YYText.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ - (UIColor *)yy_colorAtIndex:(NSUInteger)index {
156156
}
157157
if (color && ![color isKindOfClass:[UIColor class]]) {
158158
if (CFGetTypeID((__bridge CFTypeRef)(color)) == CGColorGetTypeID()) {
159-
color = [UIColor colorWithCGColor:(__bridge CGColorRef _Nonnull)(color)];
159+
color = [UIColor colorWithCGColor:(__bridge CGColorRef)(color)];
160160
} else {
161161
color = nil;
162162
}

0 commit comments

Comments
 (0)