Added a new demo which shows how to subclass and use a custom UIView.