Open the .xcodeproj
file in Xcode, and try running it several times. Eventually the program should crash because of the bad Concurrency Coding practices.
The code in this repo shows how not to do concurrency programming. It is part of this Stackoverflow Answer.