MoonKit is a Swift library which uses math and trigonometry to compute several information about the Moon.
1 package.