New top story on Hacker News: Show HN: Tiny Moon – Swift library to calculate the moon phase

Show HN: Tiny Moon – Swift library to calculate the moon phase
19 by mannylopez | 1 comments on Hacker News.
Tiny Moon is a tiny Swift library to calculate the moon phase for any given date, works super fast, and works completely offline. All of this started when I realized that we only have 12, sometimes 13, full moon's in a year. That doesn’t seem like that many. I set out to build a MacOS app to remind me when a full moon occurs, so that I could take a moment and step outside to appreciate it. The MacOS app I ended up creating can be found at https://ift.tt/3G1TNhY along with the source code [0], all powered by the Tiny Moon library. I knew that I wanted the app to work offline, so working with a network request was out of the picture. Taking inspiration from SunCalc [1] and Moontool for Windows [2], I decided to create my own library and wrote Tiny Moon as a Swift Package to power my app. The app tries to be as minimal as possible, does what it does very fast, and works completely offline. [0] https://ift.tt/SQ4bqj2 [1] https://ift.tt/dgJSEu6 [2] https://ift.tt/HePAoO9

Tiny Moon is a tiny Swift library to calculate the moon phase for any given date, works super fast, and works completely offline. All of this started when I realized that we only have 12, sometimes 13, full moon's in a year. That doesn’t seem like that many. I set out to build a MacOS app to remind me when a full moon occurs, so that I could take a moment and step outside to appreciate it. The MacOS app I ended up creating can be found at https://ift.tt/3G1TNhY along with the source code [0], all powered by the Tiny Moon library. I knew that I wanted the app to work offline, so working with a network request was out of the picture. Taking inspiration from SunCalc [1] and Moontool for Windows [2], I decided to create my own library and wrote Tiny Moon as a Swift Package to power my app. The app tries to be as minimal as possible, does what it does very fast, and works completely offline. [0] https://ift.tt/SQ4bqj2 [1] https://ift.tt/dgJSEu6 [2] https://ift.tt/HePAoO9 1 https://ift.tt/0yfFNac 19 Show HN: Tiny Moon – Swift library to calculate the moon phase

Comments

diet weight loss

diet weight loss

diet weight loss

Legal Notice: Product prices and availability are subject to change. Visit corresponding website for more details. Trade marks & images are copyrighted by their respective owners.

helth

health

health

Legal Notice: Product prices and availability are subject to change. Visit corresponding website for more details. Trade marks & images are copyrighted by their respective owners.