That was the right approach ... one twist, I set the view frame when  
drawRect is called to the size of my image.

Don't do that.  Do read the documentation.  The only thing you should do in 
-drawRect: is draw.  In particular, changing the frame inside drawRect: will 
invalidate all or part of the calculations performed by the framework in 
-display and other view drawing methods that are called before and after 
-drawRect:.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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