Skip to content

leojing/ReusedCellWithNSTimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReusedCellWithNSTimer

when tableView scrolls, the NSTimer in cell out the screen will stop calculate, and in order to reuse the cell and make sure the NSTimer goes, we need change our mind to find a new way to solve the problem.

Strategy:creat a main timer to count the time has gone, then every timer in cell start to count from the left time (total - the main timer's time).

Problem:It will cause few seconds error.

About

when tableView scrolls, the NSTimer in cell out the screen will stop calculate, and in order to reuse the cell and make sure the NSTimer goes, we need change our mind to find a new way to solve the problem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors