Relative Content

Tag Archive for iosswiftexc-bad-access

EXC_BAD_ACCESS on Init with Escaping Closure

I am trying to initialize a class with an escaping closure inside my unit test, but it always crash with EXC_BAD_ACCESS (code=1, address=0x0). Here my code for declaring the class: