viewController mapping with swift