Added swift equivalent of SimpleView