I'm working on adding 4 CAEmitterLayers to a subview. Each CAEmitterLayer is a line, and will be positioned on each side. Rotation will be controlled ...
I'm working on adding 4 CAEmitterLayers to a subview. Each CAEmitterLayer is a line, and will be positioned on each side. Rotation will be controlled ...
I would like to emit a sequence of particles using iOS that move in a circle. All the particles can start near the same location, and should have some ...
I want to use a CAEmitterLayer within a macOS app that is based on SwiftUI. Problem: The layer itself is perfectly visible, but it doesn’t emit any p ...
I could not add an icon I drew with UIBezierPath to CAEmitterCell. I wonder if the icon is not drawn? ShapeView does not work when I run the applicati ...
I just simply create a storyboard program, and change the main ViewController code to the code below which works well in others' example. but it appea ...
When I add more than one object, I have to write one by one as below. When I want to add 2 or more objects, I always have to copy and paste. I don't w ...
I can't seem to get the CAEmitterLayer display CAEmitterCells. I add the ConfettiEmitterView in Storyboard and the view is being displayed with a red ...
How can I convert this code to SwiftUI. It's a snow effect. I used CAEmitterLayer but I don't know how to use it in SwfitUI. There is no addSublayer i ...
A very bizarre issue we've been seeing (gifs below), We have a presented View Controller that has a TeamBadgeView, which is a button that emits e ...
I am trying to make it so my CAEmitterLayer object only spawn one cell at time. Once the cell lifetime expires, I want to spawn the next and so on. Th ...
My aim is to create a fire effect using a CAEmitterLayer, whose strength can be altered via changing the value of the alphaSpeed property of its given ...
I have a CAEmitterLayer instance that I want to pause and then resume multiple times. I have found various ways to do this using two CAEmitterLayer e ...
I have a CAEmitterLayer instance that emits some CAEmitterCells. I'm wondering, is it possible to pause this layer such that no new CAEmitterCells are ...
I've mostly seen examples of continuous emitters in Swift, and I've found one example in Obj-C by setting the birthRates of the emitter cells to 0.0, ...
I'm working on creating a CAEmitterLayer that's the height of the screen, and pushed off -X, so the CAEmitterCells travel from left (off the screen) t ...
here, CAEmitterLayer covers my view... the content of self.view not visible.. Ref. code : https://oktapodi.github.io/2017/05/08/particle-effects-in ...
I have some strange behaviour of CAEmitterCell color property or I don't understand it right. I have a cell With content of simple .png file which ...
I want to create a leaves falling animation this is my code : What I get from the above code: Video Drawing of what I want to achieve: ...
Is there a way to keep CAEmitter centered to UIView (using Autolayout) when rotating device? I am adding my emitter to viewDidLoad like this: I ha ...
While we are implementing a broadcast app using GPUImage we encounter a performance problem. When I was trying to adding a CAEmitterLayer on top of th ...