What's The Best Software For Creating iPhone Games?

Hi, I'm really interested in creating iPhone games, But I would like to know what's the best software for doing this? I just started learning programming, the language I'm looking for is either Objective-C or Java and the software has to be for mac, Also the software has to be 2D compatible, Thanks. - Hunter Afia

Xcode and Objective-C, period.

Java works for Android apps, but not for iOS apps.

You have to get a Mac to develop iOS software.

You can get Xcode on the Mac App Store:
https://itunes.apple.com/...mpt=uo%3D2

P.S.: A 32-bit Mac isn't compatible with Xcode and the OS X versions supported by Apple nowadays. You have to have a 64-bit Mac (or else find old versions of Xcode and old versions of OS X which isn't advisable).