There is a memory leak issue in Timer if we use selector parameter. If you use above code, the self will be a strong reference to target until the timer is invalidated, and we usually put timer as a private var in the class, so it’s a critical trap if we forget to stop timer […]