title: Draw bullet arrow in Core Graphics
body: <p>I don't want to reinvent the wheel unless absolutely necessary, so I wanted to see how I would go about drawing an arrow like this with Core Graphics:</p>
  
  <p><img src="https://i.stack.imgur.com/1Pnic.png" alt="enter image description here"></p>
  
  <p>Does anyone know how I can get started with this?
  This is what I have so far, but it draws a regular triangle instead of a bracket shape:</p>
  
  <pre><code>    CGPoint origin = CGPointMake(100, 20);
      UIBezierPath *path = [UIBezierPath bezierPath];
      [path moveToPoint:origin];
      [path addLineToPoint:CGPointMake(origin.x-10, origin.y-20)];
      [path addLineToPoint:CGPointMake(origin.x-10, origin.y+20)];
      [[UIColor redColor] set];
      [path fill];
  </code></pre>