Skip to content

Commit

Permalink
Feat: Add taptic effect when user tap markers #89
Browse files Browse the repository at this point in the history
  • Loading branch information
jinios committed Sep 3, 2019
1 parent c751052 commit 5a8f4b7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ extension LocationSearchViewController {
if let nextVC = self?.storyboard?.instantiateViewController(withIdentifier: "detailVC") as? DetailViewController {
nextVC.branchData = marker.userInfo["branch"] as? Branch

let hapticGenerator = UIImpactFeedbackGenerator(style: .medium)
hapticGenerator.impactOccurred()

let markerInfoDataSource = MarkerInfoWindowDataSource()
markerInfoDataSource.branch = marker.userInfo["branch"] as? Branch

Expand Down

0 comments on commit 5a8f4b7

Please sign in to comment.