runtime UIButton+badge (Swift 4.2)

426 阅读1分钟

利用 runtime 的 objc_getAssociatedObject , objc_getAssociatedObject方法 实现UIButton 的角标


github.com/wangjianqua…