CR: rename longpress->longPress

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent c70b1e9681
commit da7dae8163

@ -73,9 +73,9 @@ NS_ASSUME_NONNULL_BEGIN
[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapGesture:)]; [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapGesture:)];
[self addGestureRecognizer:tap]; [self addGestureRecognizer:tap];
UILongPressGestureRecognizer *longpress = UILongPressGestureRecognizer *longPress =
[[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongpressGesture:)]; [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPressGesture:)];
[self addGestureRecognizer:longpress]; [self addGestureRecognizer:longPress];
} }
+ (NSString *)cellReuseIdentifier + (NSString *)cellReuseIdentifier
@ -318,10 +318,10 @@ NS_ASSUME_NONNULL_BEGIN
[self.systemMessageCellDelegate didTapSystemMessageWithInteraction:self.interaction]; [self.systemMessageCellDelegate didTapSystemMessageWithInteraction:self.interaction];
} }
- (void)handleLongpressGesture:(UILongPressGestureRecognizer *)longpress - (void)handleLongPressGesture:(UILongPressGestureRecognizer *)longPress
{ {
OWSAssert(self.interaction); OWSAssert(self.interaction);
if (longpress.state == UIGestureRecognizerStateBegan) { if (longPress.state == UIGestureRecognizerStateBegan) {
[self.systemMessageCellDelegate didLongPressSystemMessageCell:self]; [self.systemMessageCellDelegate didLongPressSystemMessageCell:self];
} }
} }

Loading…
Cancel
Save