Subclassing UIView(Chapter 6 of iOS Programming: The Big Nerd Ranch Guide)
摘要:
Every UIView subclass implements the method drawRect:, which contains the drawing code for theview. For example, a UIButton’s drawRect: method draws a rounded rectangle with a title string in thecenter. Each time an instance of UIView needs to be drawn (or redrawn), the system prepares a graphicsco. 阅读全文
posted @ 2011-11-04 16:19 Ray Z 阅读(252) 评论(0) 推荐(0)
浙公网安备 33010602011771号