mvm_core_ui/MVMCoreUI/Models/ContainerMoleculeProtocol.swift
2019-12-04 16:59:02 -05:00

46 lines
976 B
Swift

//
// ContainerMoleculeProtocol.swift
// MVMCoreUI
//
// Created by Suresh, Kamlesh on 12/4/19.
// Copyright © 2019 Verizon Wireless. All rights reserved.
//
import Foundation
public protocol ContainerMoleculeProtocol: MoleculeProtocol {
var molecule: MoleculeProtocol? { get }
var useHorizontalMargins: Bool? { get }
var useVerticalMargins: Bool? { get }
var horizontalAlignment: String? { get }
var verticalAlignment: String? { get }
}
extension ContainerMoleculeProtocol {
public var molecule: MoleculeProtocol? {
get { return nil }
}
public var backgroundColor: String? {
get { return nil }
}
public var useHorizontalMargins: Bool? {
get { return nil }
}
public var useVerticalMargins: Bool? {
get { return nil }
}
public var horizontalAlignment: String? {
get { return nil }
}
public var verticalAlignment: String? {
get { return nil }
}
}