Commit d40a6af1 authored by jz's avatar jz

update

parent 77e6500d
...@@ -12,11 +12,11 @@ import GMKit ...@@ -12,11 +12,11 @@ import GMKit
//TODO: 待考虑 SNAPKIT //TODO: 待考虑 SNAPKIT
@objc protocol GMCommonAlertViewDelegate: class { @objc public protocol GMCommonAlertViewDelegate: class {
func didClickCommonAlert(buttonIndex: Int, alertView: GMCommonAlertView) func didClickCommonAlert(buttonIndex: Int, alertView: GMCommonAlertView)
} }
class GMCommonAlertView: GMView { public class GMCommonAlertView: GMView {
let alertView = GMView() let alertView = GMView()
let titleLabel = GMLabel(textColor: UIColor.headlineText, fontSize: 16) let titleLabel = GMLabel(textColor: UIColor.headlineText, fontSize: 16)
...@@ -26,7 +26,7 @@ class GMCommonAlertView: GMView { ...@@ -26,7 +26,7 @@ class GMCommonAlertView: GMView {
var button3: GMButton! var button3: GMButton!
weak var delegate: GMCommonAlertViewDelegate? weak var delegate: GMCommonAlertViewDelegate?
override func setup() { override public func setup() {
super.setup() super.setup()
setupSubviews() setupSubviews()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment