ios - Make setter method recursive in every 1 minutes duration -


i want store minutes remaining count variable inside class.

have implemented setter method class, working fine

i need decrease count 1 after every 1 mins.

how can add such recursion setter method inside class?

timer.scheduledtimer(timeinterval: 60, target: self, selector: #selector(yourmethod), userinfo: nil, repeats: true) 

and add count logic in method


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -