title: What is the right way of creating circle animation?
body: <p>I just saw this image and it's interesting to me, how to create such type of animation in Swift:</p>
  
  <p><a href="https://i.stack.imgur.com/2x2DX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2x2DX.png" alt="enter image description here"></a></p>
  
  <p>So, I have many gray teeth in circle and when I set the angle, for example 45degree it will fill these gray teeth into blue within 0..45 degree.</p>
  
  <p>You can just explain me the right way of doing it or you can show different snippets(it would be great). And later I will search or read about it.</p>
  
  <p>Thanks in advance!</p>