Game of life using live views in Swift Playgrounds from my Simulations in Swift book.
The Game of Life chapter can be found on Medium in three parts.
If you'd like to learn more about developing simulations using Swift playgrounds, you can purchase the book on Amazon as a paperback or ebook.