Using this example code in Xcode, please help with this project where you need to build a simple but intuitive tool to draw curves on an image, for a painting tool, which is a core function of many graphics/image designing tools, such as Coreldraw, Photoshop. You are required to draw curves by using the Bezier Spline rule. Your software allows users to draw as many splines as needed. Every spline is created by four points via left mouse click. The 1st and 4th points are the fixed points that the curve passes through. The 2nd and 3rd points are considered as the controlling points that determine the tangent direction at point 1 and 4. So your mouse can drag these two points to different positions to modify the shape of the curve. There are 7 requirements for this project: 1.) Correct Bezier spline drawing Draw the curve based on users 4 points input. Use Bezier matrix to multiple the 4 points to obtain the correct coefficients (ax, bx, cx, dx; ay, by, cy, dy). Correctly plot the curves based on the coefficients. As long as one Bezier spline is drawn correctly, you will get the credits. (2) Bezier controlling point editing to change the shape (20%) User can drag the controlling points freely to change the point position. The two corresponding straight lines change dynamically according to the new positions of the controlling points. The curve splines shape changes dynamically according to the new positions of the controlling points. Again, as long as you can have the controlling points of one Bezier spline work, you will get the credits. (3) Multiple spline drawing Your code allows user to draw as many splines as needed and able to edit any of them. User can also right-click mouse button to remove spline point and thus remove the corresponding spline. (4) Correct spline highlight Draw a little square around the center of each spline in grey color, e.g. (200, 200, 200). You can make this square size 30x30 pixels When the mouse moves into the spline editing region, this region should turn to green (0, 200, 0). When the mouse moves out of the region, the square should turn back to grey. (5) Translation operation Successfully move the spline to any position by mouse dragging (6) Coloring operation Successfully change the spline to any color when a spline is highlighted (7) Thickness operation Successfully adjust the spline with any thickness I attached the sample code that these 7 requirements should be added onto. Please help asap! Thanks!.