Swift : Usage of openURL method