UIView Subclass that provides basic line and text drawing functionality (in Swift)