are `object` singletons treated like normal classe...
# multiplatform
p
are
object
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
`object`s and everything they reference are frozen on iOS, which causes all kinds of trouble
s
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.
p
thank you both