File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "AZDialogView"
3- s . version = "1.0.0 "
3+ s . version = "1.0.1 "
44 s . summary = "A highly customizable alert dialog controller that mimics Snapchat's alert dialog."
55 s . homepage = "https://github.com/Minitour/AZDialogViewController"
66 s . license = "MIT"
Original file line number Diff line number Diff line change 99import Foundation
1010import UIKit
1111
12- typealias ActionHandler = ( ( AZDialogViewController ) -> ( Void ) )
12+ public typealias ActionHandler = ( ( AZDialogViewController ) -> ( Void ) )
1313
1414open class AZDialogViewController : UIViewController {
1515
@@ -384,7 +384,7 @@ open class AZDialogViewController: UIViewController{
384384 /// - cancelButtonHeight: The cancel button height.
385385 /// - fontName: The font name that will be used for the message label and the buttons.
386386 /// - boldFontName: The font name that will be used for the title.
387- convenience init ( title: String ? ,
387+ public convenience init ( title: String ? ,
388388 message: String ? ,
389389 verticalSpacing spacing: CGFloat = - 1 ,
390390 buttonSpacing stackSpacing: CGFloat = 10 ,
@@ -552,11 +552,11 @@ public enum AZDialogDismissDirection{
552552}
553553
554554open class AZDialogAction {
555- var title : String ?
556- var isEnabled : Bool = true
557- var handler : ActionHandler ?
555+ open var title : String ?
556+ open var isEnabled : Bool = true
557+ open var handler : ActionHandler ?
558558
559- init ( title: String , handler: ActionHandler ? = nil ) {
559+ public init ( title: String , handler: ActionHandler ? = nil ) {
560560 self . title = title
561561 self . handler = handler
562562 }
You can’t perform that action at this time.
0 commit comments