thiyagarajan

dispatch_once

Discussion created by thiyagarajan on May 29, 2014
Hi,

Is it possible to reset the state of dispatch_once code in a unit test tearDown?

I think it would be nice if our unit tests could run from a really clean state, but we are struggling with dispatch_once and some singletons made with dispatch once.

Outcomes