Skip to content

Repository files navigation

DeinitObserver

Observe object's deinit from outside of object

🚀 Motivation

🧰 Setup

  1. In your Xcode project, navigate to File > Swift Packages > Add Package Dependancy...
  2. Paste the following into the URL field: https://github.com/cozzin/DeinitObserver

🧑‍💻 Usage

import DeinitObserver
DeinitObserver(for: target){print("target did deinit!")}.observe()

About

👀 Observe deinit from outside of object

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages