mirror of
https://github.com/zhigang1992/CCHLinkTextView.git
synced 2026-01-12 22:46:17 +08:00
Edit for consistency
This commit is contained in:
@@ -53,7 +53,8 @@ extern NSString *const CCHLinkAttributeName;
|
||||
/** The gesture recognizer used to detect links in this text view. */
|
||||
@property (nonatomic, readonly) CCHLinkGestureRecognizer *linkGestureRecognizer;
|
||||
|
||||
/** The corner radius of the rounded rectangle that is shown when link touched. (default = 0 point) */
|
||||
/** The corner radius of the rounded rectangle that is shown when the link is touched. Set to 0
|
||||
to disable rounder corners (default = 0 points). */
|
||||
@property (nonatomic) CGFloat linkCornerRadius;
|
||||
|
||||
/**
|
||||
|
||||
@@ -202,7 +202,7 @@ NSString *const CCHLinkAttributeName = @"CCHLinkAttributeName";
|
||||
|
||||
- (void)drawRoundedCornerForRange:(NSRange)range
|
||||
{
|
||||
CALayer * layer = [[CALayer alloc] init];
|
||||
CALayer *layer = [[CALayer alloc] init];
|
||||
layer.frame = self.bounds;
|
||||
layer.backgroundColor = [[UIColor clearColor] CGColor];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user