Code of PomodoroRG in Ios.