title: How to draw round dot stroke pattern for a CAShapeLayer?
body: <p>I am trying to stroke the paths in <code>CAShapeLayer</code> using dash patterns. I have created many dash patterns using <code>lineDashPattern</code> property. But this property doesn't give any option for type of dash stroked. I want to be my dashes to be round dots like in image below:</p>
  
  <p><img src="https://i.stack.imgur.com/5RGGG.png" alt="enter image description here"></p>
  
  <p>I know it can be achieved because I have seen this in many apps. But I am not able to find any way to implement this in <code>CAShapeLayer</code> library. So I want to know how to get these round dot dash pattern?</p>