Update .gitignore for MacOSX.
"dismissModalViewControllerAnimated" is replaced with "dismissViewControllerAnimated:completion:".
"dismissModalViewControllerAnimated:" is deprecated on iOS6 or later.