ios has a method called “deinit” is there a way to invoke it using kotlin code ?
s
Sebastien Leclerc Lavallee
03/19/2021, 6:22 PM
I can't tell you if it's possible to call it from Kotlin. But I can tell you it's a really bad idea to call this method. It's called automatically when some object is deinit/deallocated
l
Lena Brusilovski
03/19/2021, 6:31 PM
i dont want to call it manually, i want to override the content of it
s
Sebastien Leclerc Lavallee
03/19/2021, 6:38 PM
If you are creating a standalone class (no subclass), I would say just to have a