views:

8

answers:

0

I am creating custom view to add child controller like radio button,text field etc. I am sub classing NSView and overriding drawRect method to get custom drawing via NSBezierPath. but when I am clicking or focus changes for text field ,radio button. I am getting artifacts until I call setNeedsDisplay. Is there any better way to manage this. As I have to add every type of controllers in that.