Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var user: UserData = UserData()
- var cityMenuPopUp: PopUpViewController!
- func didTapPin(gesture: UIGestureRecognizer){
- cityMenuPopUp = PopUpViewController(nibName: "cityMenu", bundle: nil)
- cityMenuPopUp.userCityMenu = user
- cityMenuPopUp.showCityMenu(self.view,animated: true, cityNameText: cityName)
- }
- var userCityMenu: UserData = UserData()
- func showCityMenu(aView: UIView!, animated: Bool, cityNameText: String) {
- aView.addSubview(self.view)
- if animated {
- self.showAnimate()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement