On Sat, 06 Mar 2010 19:57:32 -0700, Jon <trambl...@mac.com> said:
>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?

You could be misreading whatever you're reading. Implementing drawRect in a
subclass of UIView is *how* you do custom drawing.

Besides, don't optimize prematurely. Just write your program and then see
what the performance is actually like.

m.

-- 
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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

Reply via email to