nvmind. I got it all figured out. Just by adding the control the a view, it automatically calls the drawing methods. Thanks.
On Thu, Sep 17, 2009 at 11:04 PM, aaron smith <beingthexemplaryli...@gmail.com> wrote: > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com