0

How do I remove a drawn NSRect or other object other than drawing another rect over it?

evdude100
  • 437
  • 4
  • 18

1 Answers1

1

Assuming you drew the rect in drawRect:, all you need to do would be to exclude the rect from the list of objects to be drawn and call [view setNeedsDisplayInRect:theRect]. theRect here would be the CGRect equivalent.

Deepak Danduprolu
  • 44,595
  • 12
  • 101
  • 105