A UIView subclass which uses blocks for -drawRect: and -layoutSubviews