Do you really need code in deinit? Then deallocated the class is unsubscribed automatically.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: