NSView / NSControl / NSCell drawing question
NSView / NSControl / NSCell drawing question
- Subject: NSView / NSControl / NSCell drawing question
- From: aaron smith <email@hidden>
- Date: Thu, 17 Sep 2009 23:04:37 -0700
Hey All, quick question. I think this is straight forward, but just
wanted some verification before I move forward too far.
To keep a long story somewhat short - I have a custom view, which I am
placing a custom control into, and am curious if it's proper to
specifically be calling the drawRect method of a control from my
subclassed NSView.
Here are the classes:
http://pastebin.com/m4fb2d114 (a base view)
http://pastebin.com/m2835d3f6 (subclassed view)
http://pastebin.com/m6ab006a6 (the control)
http://pastebin.com/m4ded8d96 (the cell)
Like I said, I'm not very far, but wanted to verify the explicit call
to the control draw method. Is this the correct way?
Thanks much!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden