Skip to content

Commit 5bbe01d

Browse files
committed
Updated Access Modifieres
1 parent 75e8740 commit 5bbe01d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

AZDialogView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::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"

Sources/AZDialogViewController.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import Foundation
1010
import UIKit
1111

12-
typealias ActionHandler = ((AZDialogViewController)->(Void))
12+
public typealias ActionHandler = ((AZDialogViewController)->(Void))
1313

1414
open 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

554554
open 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
}

0 commit comments

Comments
 (0)