You've misread. The performance note is that if your view does not
need to draw, then you should not implement -drawRect:. A view with an
empty -drawRect: method consumes more memory and requires more
processing time to display than the same view that does not implement -
drawRect: at all.
But if you need to draw, you need to draw. All other methods of
getting content into a UIView (or more specifically the view's
CALayer) consume similar processing time in most cases.
--
David Duncan @ My iPhone
On Mar 6, 2010, at 6:57 PM, Jon <trambl...@mac.com> wrote:
I get indications from reading that you shouldn't really subclass
UIView in general or to do routine things, and that any time you
implement drawRect in the subclass of a UIView, you are taking a
performance hit compared to doing some drawing in other ways?
_______________________________________________
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