Select to view content in your preferred language

dispatch_once

1142
0
05-29-2014 01:00 AM
thiyagarajans
Deactivated User
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.
0 Kudos
0 Replies