A Custom View implementation using swift and paintcode