title: Pointers to draw a shape like a squeezed bubble in iOS
body: <p>I'm trying to make a small bubble shape that toggles between a full circle and a squeezed shape. I came across <a href="http://ronnqvi.st/thinking-like-a-bzier-path/" rel="nofollow">this article</a> that uses <code>UIBezierPath</code> broken down into straight lines and circles to make a rectangular shape with rounded corners. But before starting, I think it would be better if I could get some pointers on how to go forward. For ex, if I were to use <code>UIBezierPath</code>, then how would the path be broken down into individual curves in case of the squeezed bubble. The shape I'm thinking is an ellipse with concave bulges on two opposite sides, sort of like an hourglass. I couldn't figure out how to make this shape. Any pointers would be appreciated.</p>