Hello @Live Kim ,
yes, there is an IoT sample based on Swift.
There should be two examples in this code repository but only the second is iOS related.
I added a command regarding this to an issue in the GitHub repo.
At least try the second sample first.