Skip to content

Commit 0a8dab5

Browse files
Prevent objc warning
1 parent f37f8e7 commit 0a8dab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/DatePickerDialog.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ open class DatePickerDialog: UIView {
3434
private var font: UIFont!
3535

3636
// MARK: - Dialog initialization
37-
public init(textColor: UIColor = UIColor.black,
37+
@objc public init(textColor: UIColor = UIColor.black,
3838
buttonColor: UIColor = UIColor.blue,
3939
font: UIFont = .boldSystemFont(ofSize: 15),
4040
locale: Locale? = nil,
@@ -49,7 +49,7 @@ open class DatePickerDialog: UIView {
4949
setupView()
5050
}
5151

52-
required public init?(coder aDecoder: NSCoder) {
52+
@objc required public init?(coder aDecoder: NSCoder) {
5353
super.init(coder: aDecoder)
5454
}
5555

0 commit comments

Comments
 (0)