twostraws / HackingWithSwift

The project source code for Hacking with iOS.
The Unlicense
5.88k stars 3.28k forks source link

Add .allowsHitTesting(false) to the center circle so that the user can select a marker that is underneath it #100

Closed velo35 closed 11 months ago

velo35 commented 11 months ago

In project 14 of the Hacking With Swift series I noticed that once I added an annotation to the map I was unable to select it for editing because the center circle was intercepting touches. A minor deficiency albeit, I thought it was worth adding this small change to addresses it.

twostraws commented 11 months ago

Hello! Thank you for this contribution. I'm afraid I can't accept changes here – this code is designed to follow the tutorial series closely, and needs to stay in sync. More topically, this project is due to be updated for iOS 17 in just a few days 🙂

velo35 commented 11 months ago

No problem, thank you for taking a look. Looking forward to seeing the tutorial updated for iOS 17!