https://github.com/wangyingbo/SparkDemo
The original intention of this repo implementation is that the author saw a translated article on the juejin, and the demonstration effect is smooth and gorgeous, so I'm glad to learn it.
The original code is written with swift
. In the process of learning, the author implemented it with Objective-C
.
译文地址:给 UIView 来点烟花 - SwiftGG翻译组
原文链接:Add fireworks and sparks to a UIView
原作者仓库地址:tomkowz/fireworks