Lena Brusilovski
03/19/2021, 6:20 PMSebastien Leclerc Lavallee
03/19/2021, 6:22 PMLena Brusilovski
03/19/2021, 6:31 PMSebastien Leclerc Lavallee
03/19/2021, 6:38 PMfun deinit {}
is fineLena Brusilovski
03/19/2021, 6:42 PMSam
03/19/2021, 7:07 PMdeinit
is a Swift mechanism. The ObjC version is dealloc
. You might get somewhere with overriding that but I doubt it. https://developer.apple.com/documentation/objectivec/nsobject/1571947-dealloc