A "pin" SwiftUI Shape.
Download DropPin.swift and include it in your project.
DropPin
is a Shape
, so you can use it the same way you would use any other Shape
such as Circle()
. In the included project you can see examples.
If you think you can improve the shape, or the demo, feel free to open a pull request.
See LICENSE.
Demo image curtesy of @Steliyana.