THere is already a really good Moon Phase app for the iphone and iPad:
http://itunes.apple.com/au/app/moonp...287526650?mt=8
It is one of the best, in my opinion. Given that most apps are under $5, I wouldn't waste my time even thinking about trying to develop one.