I need to do some moonrise azimuth and time calculations. Can anyone recommend a good astronomy library, preferably in Objective-C?
                
                A: 
                
                
              
            Maybe code of opensource projects could fit you? Recently on FLOSS-Weekly was a discussion about Stellarium.
Disclaimer: I didn't look at that source of Stellarium so I have no idea if it is useful at all and unfortunately it is written in C/C++.
                  Jenea
                   2010-02-27 19:05:40
                
              
                
                A: 
                
                
              
            There's an old C library called Astrolog that can probably do some of the stuff you're asking. You can check it out here: http://www.astrolog.org/astrolog.htm
                  Dave DeLong
                   2010-02-27 19:36:38
                
              
                +1 
                A: 
                
                
              
            Its not in objective C but the library included in the pyephem package is quite good. The C source files were taken from the old X windows xephem program with glue added to make the functions available from within Python. As long as you don't require super-high accuracy, these routines will probably work for you.
                  sizzzzlerz
                   2010-02-27 22:41:37