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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -