Saving few lines of code from the book


I just realised that If i insert everyhting into the for loop there’s no need to write this extra line of code anymore

[code]“[path moveToPoint:CGPointMake(center.x + currentRadius, center.y)];”


what do you think?
its here

[code]- (void)drawRect:(CGRect)rect
//CGRect selfFrame = self.bounds;

CGPoint center = CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2);

//float x = self.bounds.size.width/2;
float maxRadius = hypotf(self.bounds.size.width, self.bounds.size.height);
for (float x = maxRadius; x > 0; x-=20){
UIBezierPath *circlePath = [[UIBezierPath alloc]init];
[circlePath addArcWithCenter:center radius:x startAngle:0.0 endAngle:2.0*M_PI clockwise:YES];
circlePath.lineWidth  = 10;
[[UIColor lightGrayColor] setStroke];
[circlePath stroke];



I’m not sure but will this method takes up memory?