singletons treated like normal classes in kotlin native? specifically when accessing from iOS Swift? Seems like the responsibility of swift code to maintain the singleton instance unless I am missing something.
r
ribesg
03/15/2019, 3:25 PM
`object`s and everything they reference are frozen on iOS, which causes all kinds of trouble
s
Sam
03/15/2019, 3:41 PM
In swift you still have to call the constructor to access it. However it only ever returns the one instance so while it may not look like a singleton, it is.