I want a little help because the Swift does not have many explanations on the Internet, so please help
I want to use this code and convert it to Swift language