@dhanya : This style needs to be adjusted to be more readable:
<pre>
    self.messageLabel.frame = CGRectMake(self.center.x - self.messageLabel.frame.size.width / 2,
                                         segmentY,
                                         self.messageLabel.frame.size.width,
                                         self.messageLabel.frame.size.height);
</pre>