Hi All.
I'm learning Cocoa Drawing techniques. I am creating two NSBezierPath objects from NSRects in my drawRect method, one which never changes, and one which changes width depending on something happening.
So in all likelyhood, my drawRect gets called numerous times, but it seems wrong to recreate the two NSBezierPath objects each time, it would be better to just update the second NSBezierPath width (or update its NSRect).
Can I do this? I tried to create the first NSBezierPath in the initWithFrame method, but it seemed to cause an issue.