Clean up ahead of PR.

pull/1/head
Matthew Chen 7 years ago
parent 9cc3a3b7b3
commit 5f09080699

@ -8,6 +8,16 @@ NS_ASSUME_NONNULL_BEGIN
@class OWSBubbleView;
// While rendering message bubbles, we often need to render
// into a subregion of the bubble that reflects the intersection
// of some subview (e.g. a media view) and the bubble shape
// (including its rounding).
//
// This view serves three different roles:
//
// * Drawing: Filling and/or stroking a subregion of the bubble shape.
// * Shadows: Casting a shadow over a subregion of the bubble shape.
// * Clipping: Clipping subviews to subregion of the bubble shape.
@interface OWSBubbleShapeView : UIView <OWSBubbleViewPartner>
@property (nonatomic, nullable) UIColor *fillColor;

@ -24,8 +24,6 @@ extern const CGFloat kOWSMessageCellCornerRadius;
@property (nonatomic, nullable) UIColor *bubbleColor;
@property (nonatomic, nullable, weak) id<OWSBubbleViewPartner> delegate;
- (UIBezierPath *)maskPath;
#pragma mark - Coordination

@ -160,7 +160,6 @@ const CGFloat kOWSMessageCellCornerRadius = 16;
for (id<OWSBubbleViewPartner> partnerView in self.partnerViews) {
[partnerView updateLayers];
}
[self.delegate updateLayers];
}
+ (CGFloat)minWidth

Loading…
Cancel
Save