22 lines
457 B
Swift
22 lines
457 B
Swift
//
|
||
// 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
|
||
}
|
||
}
|