Merge branch 'charlesmchen/fixBuildWarnings'

pull/1/head
Matthew Chen 8 years ago
commit de56c77f3f

@ -85,10 +85,9 @@ NS_ASSUME_NONNULL_BEGIN
@"Paul", @"Paul",
@"Bertha", @"Bertha",
]; ];
return values[arc4random_uniform(values.count)]; return values[(NSUInteger)arc4random_uniform((uint32_t)values.count)];
} }
+ (NSString *)randomLastName + (NSString *)randomLastName
{ {
NSArray<NSString *> *values = @[ NSArray<NSString *> *values = @[

@ -2,7 +2,7 @@
// Copyright (c) 2017 Open Whisper Systems. All rights reserved. // 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 NS_ASSUME_NONNULL_BEGIN

@ -106,12 +106,6 @@ NS_ASSUME_NONNULL_BEGIN
return [NSString stringWithFormat:@"[%@]", self.class]; return [NSString stringWithFormat:@"[%@]", self.class];
} }
// TODO rename to logTag, tag is an existing UIView method.
- (NSString *)tag
{
return self.class.tag;
}
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

@ -10,8 +10,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (atomic) BOOL hasMoreUnseenMessages; @property (atomic) BOOL hasMoreUnseenMessages;
- (instancetype)initWithTimestamp:(uint64_t)timestamp thread:(TSThread *)thread NS_DESIGNATED_INITIALIZER;
@end @end
#pragma mark - #pragma mark -

Loading…
Cancel
Save