diff --git a/CCHLinkTextView/CCHLinkTextView.h b/CCHLinkTextView/CCHLinkTextView.h index 7efccc2..cb21830 100644 --- a/CCHLinkTextView/CCHLinkTextView.h +++ b/CCHLinkTextView/CCHLinkTextView.h @@ -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; /** diff --git a/CCHLinkTextView/CCHLinkTextView.m b/CCHLinkTextView/CCHLinkTextView.m index 7c7be8a..7912235 100644 --- a/CCHLinkTextView/CCHLinkTextView.m +++ b/CCHLinkTextView/CCHLinkTextView.m @@ -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];