Newbie NSView question.
Newbie NSView question.
- Subject: Newbie NSView question.
- From: db_ <email@hidden>
- Date: Tue, 14 Oct 2003 23:20:36 -0700
I'm doing a small simple application to help my understanding of
Cocoa. In a part of it is an NSView that I want to draw shapes in
depending on which button I click. I've connected all the buttons to
a corresponding function (drawCirlce, drawXXXX, etc). When I build
and run the app the drawing functions aren't drawing anything into the
view. I've added debug messages and know the functions are being
called.
So my question is... is drawRect: the only function that allows
drawing into an NSView? Thanks for any help.
Oh. When Panther and Xcode are released am I gonna have to relearn
all this stuff? Just curious. :)
-j
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.