用 Swift 实现的现代计时器、防抖器和节流器(NSTimer 的替代方案),基于 GCD 构建

nstimer 开源项目推荐(23 个)
nstimer 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 23 个仓库Swifty API for NSTimer
功能描述:WSL_RollView 是基于UICollectionView实现的支持水平和垂直两个方向上的的分页和渐进循环轮播效果,可以设置时间间隔、渐进速率、是否循环、分页宽度和间隔,还支持高度自定义分页视图的控件。
iOS面试准备,总结的一些面试题目
A category of NSTimer for showing 3D Fluttered animation for iOS, which is used very simply. Lightweight CALayer animation, core animation, 3D transform, performance safety. iOS 3D三维飘落下雪落花动画,轻量级CALayer图层动画,核心动画,3D形变,性能安全,定时器NSTimer分类,直接使用,很简单
Add block ability to NSTimer to avoid common retain cycle issues.
一个全局定时计时器,一行代码开启定时任务或者循环任务
HPAlertShow class to display success or failure state with fully customisable custom control
NSTimer\CADisplayLink 入坑提示
一个类似于贪吃蛇的游戏
GCD定时器封装
JGOCTimer is a lightweight timer extension for OC.
iOS定时器汇总
基于 GCD 的封装
该项目在 GitHub 上没有填写描述
Swift 3 Chronometer App
<iOS>低耦合的自释放定时器(NSTimer + GCD 定时器)
This is the timer implementation of NSTimer / Timer using dispatch queue for CPU efficiency. Link: https://developer.apple.com/library/content/documentation/Performance/Conceptual/EnergyGuide-iOS/MinimizeTimerUse.html
利用GCD定时器,解决Timer时间不准的情况
An alternative to NSTimer.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/nstimer。
- 该话题在 GitHub 上共有 23 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 2824 Star,覆盖 2 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。