suggest change


Parameter | Details |

——— | —–– |

interval | The time, in seconds, to wait beforing firing the timer; or, in repeating timers, the time between firings. |

target | The object to call the selector on |

selector | In Swift, a Selector object specifying the method to call on the target |

repeats | If false, fire the timer only once. If true, fire the timer every interval seconds. |


An NSTimer allows you to send a message to a target after a specified period of time elapses.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents