Make algorithm written in C accessible by Swift (iOS, iPadOS, macOS)
Budget: €30 – €250 EUR
Make the Moshier AA algorithm (see http://www.moshier.net/aadoc.html ) accessible as a Swift framework. Goal is to make the Moshier AA algorithm a Swift Framework that is accessible from iOS, iPadOS and macOS apps, which are developed using Swift (not Objective-C).
Provide reasonable methods, classes, structs, enums and everything needed to call the functions and features of the framework from outside.
Goal is to calculate ephemeris for a given location (longitude, latitude, altitude) for a given date (Gregorian date and UTC time) for a given planet (like Sun, Moon, Mercury, ...).
If you find it easier to migrate the code completely to Swift, that's fine as well. However, I think interfacing with the C code may be less workload.
Provide reasonable methods, classes, structs, enums and everything needed to call the functions and features of the framework from outside.
Goal is to calculate ephemeris for a given location (longitude, latitude, altitude) for a given date (Gregorian date and UTC time) for a given planet (like Sun, Moon, Mercury, ...).
If you find it easier to migrate the code completely to Swift, that's fine as well. However, I think interfacing with the C code may be less workload.