Swift macOS CLI example on how to NOT do concurrent coding

Swift Concurrent Test

Open the .xcodeproj file in Xcode, and try running it several times. Eventually the program should crash because of the bad Concurrency Coding practices.

Notes

The code in this repo shows how not to do concurrency programming. It is part of this Stackoverflow Answer.

GitHub

View Github