@ -85,10 +85,9 @@ NS_ASSUME_NONNULL_BEGIN
@"Paul",
@"Bertha",
];
return values[arc4random_uniform(values.count)];
return values[(NSUInteger)arc4random_uniform((uint32_t)values.count)];
}
+ (NSString *)randomLastName
{
NSArray<NSString *> *values = @[
@ -2,7 +2,7 @@
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
typedef void (^ConfigureShapeLayerBlock)(CAShapeLayer *layer, CGRect bounds);
typedef void (^ConfigureShapeLayerBlock)(CAShapeLayer *_Nonnull layer, CGRect bounds);
NS_ASSUME_NONNULL_BEGIN
@ -106,12 +106,6 @@ NS_ASSUME_NONNULL_BEGIN
return [NSString stringWithFormat:@"[%@]", self.class];
// TODO rename to logTag, tag is an existing UIView method.
- (NSString *)tag
return self.class.tag;
@end
NS_ASSUME_NONNULL_END
@ -10,8 +10,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (atomic) BOOL hasMoreUnseenMessages;
- (instancetype)initWithTimestamp:(uint64_t)timestamp thread:(TSThread *)thread NS_DESIGNATED_INITIALIZER;
#pragma mark -