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
Post a Comment