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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -