textfield input in HH:MM:SS format

Job ID: 30652019

Budget: $10 – $30 USD

Hi,
I am looking for someone who can help me format the textfield input in HH:MM:SS.
When user enter input, it starts with second first and then minute and then hour:
For example:
1 -> 00:00:01
10->00:00:10
110 -> 00:01:10
1210 -> 00:12:10
11210-> 01:12:10
121210-> 12:12:10
and when user tries to edit the input, the input must reformat correctly
Related categories: Swift