IOS: verify if a point is inside a rect IOS: verify if a point is inside a rect ios ios