Closed philium closed 6 years ago
Is there a reason you chose to leave in func modified(x xDelta: CGFloat) -> CGPoint ?
I checked that CGPoint.modified(y:)
was being used and just assumed the other one was being used as well.
I left it because it felt more balanced, despite not being used. If the app provides an API for interacting with CGPoint
in such a way for y
, it should do the same for x
. I would still suggest it stays. Was just curious why you hadn't nixed it like you did the other APIs.
Agreed.
Also removes related unused helper methods on
CGRect
andCGPoint
.