You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue does not appear if remove below code and KVO observes. UITextView.cpk_swizzle(method1: "dealloc", method2: #selector(UITextView.cpk_deinit))
I found some answers. but I can not found the reason.
Deinitializers are called automatically, just before instance deallocation takes place. You are not allowed to call a deinitializer yourself. Superclass deinitializers are inherited by their subclasses, and the superclass deinitializer is called automatically at the end of a subclass deinitializer implementation. Superclass deinitializers are always called, even if a subclass does not provide its own deinitializer.
The text was updated successfully, but these errors were encountered:
co-worker found this issue.
I do not know what is make this problem exactly.
This issue does not appear if remove below code and KVO observes.
UITextView.cpk_swizzle(method1: "dealloc", method2: #selector(UITextView.cpk_deinit))
I found some answers. but I can not found the reason.
Someone did test
method swizzle
already(https://github.com/inamiy/Swizzle/blob/master/SwizzleTests/_TestObject.swift).It can be a reason.
The text was updated successfully, but these errors were encountered: