Gold Challenge Question


Yeah I have the problem that I don’t know how to find out which line was added for that actual line thickness at that time in the drawRect: method. Atm my drawRect: method draws all lines in the line thickness based on the velocity of the last line. Can anyone give me a tip how to distinguish between the different line objects in the drawRect: method?


Try adding a thickness instance variable to the Line class.


Ah of course, thank you!