YadUI/Sources/YadUI/Models/BindingModel.swift

22 lines
457 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// BindingModel.swift
//
//
// Created by Мустафаев Селим Мустафаевич on 03.08.2023.
//
import UIKit
class BindingModel {
var srcTag: Int
weak var dstView: UIView?
var bind: (ContainerView, Int, UIView?) -> Bool
init(srcTag: Int, dstView: UIView, bind: @escaping (ContainerView, Int, UIView?) -> Bool) {
self.srcTag = srcTag
self.dstView = dstView
self.bind = bind
}
}