21 lines
573 B
Swift
21 lines
573 B
Swift
//
|
|
// DelegateObject.swift
|
|
// MVMCoreUI
|
|
//
|
|
// Created by Scott Pfeil on 4/12/19.
|
|
// Copyright © 2019 Verizon Wireless. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
@objc(MVMCoreUIDelegateObject)
|
|
open class DelegateObject: MVMCore.DelegateObject {
|
|
public weak var formValidationProtocol: FormValidationProtocol?
|
|
public weak var buttonDelegate: ButtonDelegateProtocol?
|
|
|
|
open override func setAll(withDelegate delegate: Any) {
|
|
formValidationProtocol = delegate as? FormValidationProtocol
|
|
buttonDelegate = delegate as? ButtonDelegateProtocol
|
|
}
|
|
}
|