SwiftAA

screenshot of SwiftAA

The most comprehensive collection of accurate astronomical algorithms in (C++, Objective-C and) Swift.

Overview

SwiftAA is a comprehensive collection of accurate astronomical algorithms available in C++ and Swift. It provides functionalities such as building the Solar System, computing moon phases, determining planetary positions, and more, with professional-grade accuracy. The library is widely used in production apps like MeteorActive for iOS. SwiftAA is built on top of AA+, a C++ implementation of the reference textbook Astronomical Algorithms by Jean Meeus, incorporating additional algorithms like the VSOP87 framework and ELP/MPP02 theory.

Features

  • Travis and Codecov Compatible: Ensures code quality and test coverage.
  • Carthage Compatibility: Allows easy integration into projects using Carthage.
  • Free and Open-Source: Available for free and open to contributions.

Summary

SwiftAA is a comprehensive library of accurate astronomical algorithms available in C++ and Swift. It offers a wide range of functionalities for building the Solar System, computing celestial events, and more, with a strong focus on accuracy and modern APIs for ease of use. With high unit test coverage and compatibility with popular package managers like Swift Package Manager, Carthage, and CocoaPods, SwiftAA is a reliable choice for developers looking to incorporate astronomical computations into their projects.