python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Resize annotationview frame to custom shape
I'm developing an application that uses custom annotationview pins on a map. The head of the pin is a button that dynamically resizes. I'm pretty new to swift and noticed that the button only register...
Tim Hirsch
Votes: 0
Answers: 1
Erase UIBezierPath
I am freehand drawing a UIBezierPath but now I want to be able to erase the lines I previously drawn. Does anyone have any suggestions on how to do that?
@objc private func didPanWhiteboard(_ gesture:...

Lobont Andrei
Votes: 0
Answers: 1
Ball path not following semi-circle exactly
Bit stumped here.
First of all, here is what's going on:
As you can see, my ball is not following the curved quarter-circle path exactly, but vaguely.
Here is the code creating the quarter-circle (p....

Anthony Frizalone
Votes: 0
Answers: 2