Skip to content

Commit

Permalink
Added public init
Browse files Browse the repository at this point in the history
  • Loading branch information
mshrwtnb committed Apr 24, 2020
1 parent 6ea2c67 commit 1b891bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ALRT/ALRT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ public class ALRT {
public var tintColor: UIColor?
public var okTitle: String?
public var cancelTitle: String?

public init(
tintColor: UIColor?,
okTitle: String?,
cancelTitle: String?
) {
self.tintColor = tintColor
self.okTitle = okTitle
self.cancelTitle = cancelTitle
}
}

/**
Expand Down

0 comments on commit 1b891bc

Please sign in to comment.