Modification to add overlay to image

This commit is contained in:
Chintakrinda, Arun Kumar (Arun) 2020-09-08 12:50:21 +05:30
parent 74ea6654c0
commit acfc1e2b51
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import Foundation
open class BGImageMolecule: MoleculeContainer {
let image = LoadImageView(pinnedEdges: .all)
public let image = LoadImageView(pinnedEdges: .all)
open override func setupView() {
super.setupView()

View File

@ -9,7 +9,7 @@
import Foundation
open class BGImageMoleculeModel: MoleculeContainerModel {
public override class var identifier: String {
open override class var identifier: String {
return "bgImageContainer"
}
public var image: ImageViewModel
@ -44,7 +44,7 @@ open class BGImageMoleculeModel: MoleculeContainerModel {
try super.init(from: decoder)
}
public override func encode(to encoder: Encoder) throws {
open override func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encode(image, forKey: .image)