Open teonicel opened 6 years ago
Also an similar issue with visual deffect modified working code below
fileprivate func ld_addLoader()
{
if self.ld_getCutoutView() == nil {
let gradient: CAGradientLayer = CAGradientLayer()
gradient.frame = CGRect(x: 0, y: 0, width: self.bounds.size.width , height: self.bounds.size.height)
self.layer.insertSublayer(gradient, at:0)
self.configureAndAddAnimationToGradient(gradient)
}
self.addCutoutView()
}
please fork the library, then put your updates, then make a pull request.
I will be happy to accept your changes 😄
Hi i encountered an issue with the library unfortunately it allows you add multiple cutouts to cell which creates an visual bug by taking the previous cutout into the draw function the solution is below