Skip to content

Commit ccd7223

Browse files
committed
0.1.1
make configuer class valible public
1 parent b5a2021 commit ccd7223

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Example/SwiftStickerView/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ViewController: UIViewController {
1616
override func viewDidLoad() {
1717
super.viewDidLoad()
1818
let configuration = Configuration()
19-
19+
configuration.borderWidth = 2
2020
let testView = UIImageView(frame: CGRect.init(x: 0, y: 0, width: 150, height: 100))
2121
testView.backgroundColor = UIColor.red
2222
testView.image = UIImage(named: "image")

Source/Configuration.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ open class Configuration {
4242
Button(buttonPosition: .midle_left, buttonType: .stretch_width,image: UIImage(systemName: "square.fill")!),
4343
Button(buttonPosition: .midle_bottom, buttonType: .stretch_height,image: UIImage(systemName: "square.fill")!)
4444
]
45-
var insetMarging:CGFloat! = 16
46-
var boarderColor:UIColor! = .darkGray
47-
var borderWidth:CGFloat! = 2
48-
var buttonSize:CGSize! = CGSize(width: 16, height: 16)
45+
public var insetMarging:CGFloat! = 16
46+
public var boarderColor:UIColor! = .darkGray
47+
public var borderWidth:CGFloat! = 2
48+
public var buttonSize:CGSize! = CGSize(width: 16, height: 16)
4949
var minimumSize:CGFloat! = 16 * 4
5050
}

SwiftStickerView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'SwiftStickerView'
11-
s.version = '0.1.0'
11+
s.version = '0.1.1'
1212
s.summary = 'SwiftStickerView for view move rotate scretch.'
1313

1414
# This description is used to generate tags and improve search results.

0 commit comments

Comments
 (0)