--- On Fri, 10/17/08, Russ <[EMAIL PROTECTED]> wrote:

> My app is drawing acceptably (for now) the first time, but
> the screen isn't updating after anything happens. I am
> calling setNeedsDisplay:YES on the affected NSViews and
> their drawRect routines are getting called, but it seems the
> results aren't being composited onto the screen
> subsequently. If I resize the window smaller and larger
> again, the exposed portion shows the correct portion. Just
> driving it with a few menu operations for now. I have a
> subclassed NSView but it is very minimal to store a little
> extra information and pass along the drawRect.

Could you by any chance have accidentally created extra copies of the views? 
Try putting an NSLog(@"%p", self) in the drawRect: implementation and see if 
you get different addresses.

Cheers,
Chuck

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to