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
Post a Comment