I have been looking at kanderson's code and trying to understand it. Considering the fact that it was posted a week ago the code is written in ancient Swift that I am unable to translate into modern Swift that will compile. If there was an example that is recent that would be appreciated.