The main objective of this code sample is to describe that how sliding of view controller works in iOS.