Split a corner of one UIView with ObjC

Hi guys,


Shortly, I don't know where to star because my experience with CoreAnimation or SpriteKit or whatever thing related to graphics is very limited so, I have a question:


Suppouse that I have a UIViewController father and inside of it I have an UIView, so here are my points:


1.- I want to the uiview has a transparency (easy one)

2.- I want to fold the right lower corner with an animation.

3.- I want to fold the left upper corner with an animation.


And this problem I want to solve it with coding skills not a gif or whatever thing that isn't code.


So my problem is, how can I fold a corner of the UIView???



Thank you for your help.