class < UIView =begin # Only override drawRect if you perform custom drawing. # An empty implementation adversely affects performance during animation. def drawRect(rect) # Drawing code end =end end