Skip to content

Commit 11d0fce

Browse files
Remove public CanConfigureViews (#57)
* Remove public CanConfigureViews
1 parent efb7abd commit 11d0fce

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

markymark.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "markymark"
3-
s.version = "7.2"
3+
s.version = "7.2.1"
44
s.summary = "Markdown parser for iOS"
55
s.description = <<-DESC
66
Marky Mark is a parser written in Swift that converts markdown into native views. The way it looks is highly customizable and the supported markdown syntax and tags are easy to extend.

markymark/Classes/Default implementations/Attributed label/MarkdownAttributedLabel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ open class MarkdownAttributedLabel: AttributedInteractiveLabel {
4444
public init(font: UIFont? = nil) {
4545
super.init()
4646
self.font = font
47-
configureViews()
47+
configureViewProperties()
4848
}
4949

5050
override public init(frame: CGRect) {
@@ -53,7 +53,7 @@ open class MarkdownAttributedLabel: AttributedInteractiveLabel {
5353

5454
required public init?(coder aDecoder: NSCoder) {
5555
super.init(coder: aDecoder)
56-
configureViews()
56+
configureViewProperties()
5757

5858
styling.paragraphStyling.baseFont = font
5959
styling.paragraphStyling.textColor = textColor

markymark/Classes/Default implementations/CanConfigureViews.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
public protocol CanConfigureViews {
10+
protocol CanConfigureViews {
1111

1212
func configureViews()
1313
func configureViewProperties()
@@ -16,7 +16,7 @@ public protocol CanConfigureViews {
1616
func configureViewLayout()
1717
}
1818

19-
public extension CanConfigureViews {
19+
extension CanConfigureViews {
2020

2121
func configureViews() {
2222
configureViewProperties()

markymark/Classes/Layout Builders/UIView/Views/AttributedInteractiveLabel.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ open class AttributedInteractiveLabel: UILabel {
3333

3434
public init(){
3535
super.init(frame: CGRect())
36-
configureViews()
36+
configureViewProperties()
3737
}
3838

3939
override public init(frame: CGRect) {
4040
super.init(frame: CGRect())
41-
configureViews()
41+
configureViewProperties()
4242
}
4343

4444
required public init?(coder aDecoder: NSCoder) {
4545
super.init(coder: aDecoder)
46-
configureViews()
46+
configureViewProperties()
4747
}
4848

4949
@objc func didTap(_ tapGesture:UITapGestureRecognizer) {
@@ -125,7 +125,7 @@ open class AttributedInteractiveLabel: UILabel {
125125
}
126126
}
127127

128-
extension AttributedInteractiveLabel: CanConfigureViews {
128+
extension AttributedInteractiveLabel {
129129

130130
public func configureViewProperties() {
131131
isUserInteractionEnabled = true;

0 commit comments

Comments
 (0)