Edit for consistency

This commit is contained in:
choefele
2015-02-11 17:03:34 +01:00
parent e68a0ac314
commit 0ea394e0ee
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
/**

View File

@@ -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];