Swiftpack.co -  kraigspear/SunriseSunsetSwift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
kraigspear/SunriseSunsetSwift
Sunrise Sunset calculations written in Swift
.package(url: "https://github.com/kraigspear/SunriseSunsetSwift.git", from: "1.0.0")

SunriseSunsetSwift

There are a few Objective-C versions of Sunrise/Sunset calculations floating out there, but nothing in pure Swift.

Maybe that has something to do with the Swift compiler not being keen on complex expressions.

I worked around this by breaking the expression into smaller steps, which was lots of fun.

GitHub

link
Stars: 3
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

SPM, Swift 5.5
4 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API