diff --git a/WOWCardStackView.podspec b/WOWCardStackView.podspec index 586ea87..0ef453a 100644 --- a/WOWCardStackView.podspec +++ b/WOWCardStackView.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'WOWCardStackView' - s.version = '0.1.1' + s.version = '0.1.2' s.summary = 'Swapable Card Stack View in Swift 3.0.' # This description is used to generate tags and improve search results. @@ -18,7 +18,7 @@ Pod::Spec.new do |s| # * Finally, don't worry about the indent, CocoaPods strips it! s.description = <<-DESC -Swapable Card Stack View in Swift 3.0. It's able to use in Storyboard and similar to UITableView. +Swapable Card Stack View in Swift 3.0. It's able to use in Storyboard and Programatically and it's similar to UITableView. DESC s.homepage = 'https://github.com/zhouhao27/WOWCardStackView' diff --git a/WOWCardStackView/Classes/CardView.swift b/WOWCardStackView/Classes/CardView.swift index 4d8172b..29a419c 100644 --- a/WOWCardStackView/Classes/CardView.swift +++ b/WOWCardStackView/Classes/CardView.swift @@ -20,21 +20,21 @@ open class CardView: UIView { weak var delegate: CardViewDelegate? @IBInspectable - var borderColor: UIColor = UIColor.clear { + public var borderColor: UIColor = UIColor.clear { willSet { self.layer.borderColor = newValue.cgColor } } @IBInspectable - var borderWidth: CGFloat = 0 { + public var borderWidth: CGFloat = 0 { willSet { self.layer.borderWidth = newValue } } @IBInspectable - var isShadowed: Bool = false { + public var isShadowed: Bool = false { willSet { if newValue { self.layer.shadowColor = UIColor.black.cgColor