Added private init method on LightboxImage to support the stub

This commit is contained in:
Igor Fedotov
2018-02-13 18:56:07 +01:00
parent 64dee3b6bc
commit 20ea9e3e1c
+4
View File
@@ -10,6 +10,10 @@ open class LightboxImage {
open var text: String
// MARK: - Initialization
internal init(text: String = "") {
self.text = text
}
public init(image: UIImage, text: String = "", videoURL: URL? = nil) {
self.image = image