Skip to content

Commit

Permalink
Remove extension to set left, right, etc. insets
Browse files Browse the repository at this point in the history
  • Loading branch information
croossin committed Jul 9, 2018
1 parent 5ea0189 commit 8d05cef
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions CardParts/src/Classes/Card Parts/CardPartTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,6 @@ public class CardPartLabel: UILabel {
}
}

public extension CardPartLabel {
var leftTextInset: CGFloat {
set { textInsets.left = newValue }
get { return textInsets.left }
}

var rightTextInset: CGFloat {
set { textInsets.right = newValue }
get { return textInsets.right }
}

var topTextInset: CGFloat {
set { textInsets.top = newValue }
get { return textInsets.top }
}

var bottomTextInset: CGFloat {
set { textInsets.bottom = newValue }
get { return textInsets.bottom }
}
}

public enum CardPartTextType {
case small
case normal
Expand Down

0 comments on commit 8d05cef

Please sign in to comment.