title: Draw hollow circle divided into equal parts
body: <p>I want draw a hollow circle that look like the below image</p>
  
  <p><img src="https://i.stack.imgur.com/tMqNQ.png" alt="enter image description here"></p>
  
  <p>I got the below code snippet to draw hollow circle </p>
  
  <pre><code>- (id)initWithFrame:(CGRect)frame
  {
      self = [super initWithFrame:frame];
      if (self) {
          // Initialization code
          self.backgroundColor = [UIColor whiteColor];
  
          // Determine our start and stop angles for the arc (in radians)
          startAngle = M_PI * 1.5;
          endAngle = startAngle + (M_PI * 2);
  
      }
      return self;
  }
  
  - (void)drawRect:(CGRect)rect
  {
      // Display our percentage as a string
      NSString* textContent = [NSString stringWithFormat:@"%d", self.percent];
  
      UIBezierPath* bezierPath = [UIBezierPath bezierPath];
  
      // Create our arc, with the correct angles
      [bezierPath addArcWithCenter:CGPointMake(rect.size.width / 2, rect.size.height / 2)
                            radius:130
                        startAngle:startAngle
                          endAngle:(endAngle - startAngle) * (_percent / 100.0) + startAngle
                         clockwise:YES];
  
  
      // Set the display for the path, and stroke it
      bezierPath.lineWidth = 50;
      [[UIColor redColor] setStroke];
      [bezierPath stroke];
  
      // Text Drawing
      CGRect textRect = CGRectMake((rect.size.width / 2.0) - 71/2.0, (rect.size.height / 2.0) - 45/2.0, 71, 45);
      [[UIColor blackColor] setFill];
      [textContent drawInRect: textRect withFont: [UIFont fontWithName: @"Helvetica-Bold" size: 42.5] lineBreakMode: NSLineBreakByWordWrapping alignment: NSTextAlignmentCenter];
  }
  </code></pre>
  
  <p>I need the separator lines also in the hollow circle,as in the above image.Any suggestion will be helpful ....</p>