Although title sounds horrible, believe me - It's not that bad. This is a trick I learned from StackOverflow post [http://stackoverflow.com/questions/16512761/calayer-with-transparent-hole-in-it] . Although seemingly innocuous, it took me a while to figure out given the view, how to puncture any shape into it. To make it
Building simple image slider with Core Animation [https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html] . You will soon find that it is supremely easy and customizable in terms of other options without having developer to deal with underlying intricacies. Since most of the code
Drawing bezier curve using core animation Today we are going to learn how to draw arbitrary shapes using UIBezierPath and CAShapeLayer classes. Drawing shape with UIBezierPath is very simple. First you have to make an outline using UIBezierPath and then use this path to assign to path for CAShapeLayer object.