Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- button.addTarget(self, action: #selector(searchVenues(_:radius:completion:)), for: .touchUpInside)
- @objc func searchVenues(_ coordinate: CLLocationCoordinate2D,radius: Float = 10000.0, completion: @escaping (Result<[XPVenue],Error>) -> Void) {
- // ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement