iOS(Swift) App hangs after calling a struct's static var -


so i've got subclass of nsobject in implemented this:

struct sharedstruct {     static var sharedinstance = taskcoordinator() } class var sharedinstance:taskcoordinator {     { return sharedstruct.sharedinstance }     set { sharedstruct.sharedinstance = newvalue } } 

when call anywhere, app hangs without error. known issue or doing wrong here?

maybe kind of loop, did halt execution , @ stack?


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

python - ValueError: could not convert string to float -

php - Laravel Get all child node count with condition -