This is a swift library showing cool particle on the screen. The library receive UIImageView as parameter . You can customized UIImageView shape and add it as parameter to create a cool particle flying.
This project is dedicated for "អូនស្អាតរបស់បង"
this project shows method how use
// create circle shape
self.theImgView.image = img;
self.theImgView.layer.borderWidth = 3;
self.theImgView.layer.borderColor = UIColor(white: 1, alpha: 1).cgColor;
self.theImgView.layer.cornerRadius = self.theImgView.bounds.width / 2;
self.theImgView.clipsToBounds = true;
// emit circle shape image as particle
var particle : SCHParticle = SCHParticle(imageView: ' self.theImgView ');