objective-c : three steps to create a custom transition in iOS