mirror of
https://github.com/confirmedcode/Lockdown-iOS.git
synced 2025-12-21 12:14:02 +01:00
17 lines
284 B
Swift
17 lines
284 B
Swift
//
|
|
// WeakObject.swift
|
|
// Lockdown
|
|
//
|
|
// Created by Aliaksandr Dvoineu on 4.05.23.
|
|
// Copyright © 2023 Confirmed Inc. All rights reserved.
|
|
//
|
|
|
|
final class WeakObject<T: AnyObject> {
|
|
|
|
weak var object : T?
|
|
|
|
init (_ object: T) {
|
|
self.object = object
|
|
}
|
|
}
|