Gold Challenge Question


#1

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?


#2

Try adding a thickness instance variable to the Line class.


#3

Ah of course, thank you!