https://github.com/bakkenbaeck/daylight-ios
A beautiful app that will let you know how much sun you have today.
https://github.com/bakkenbaeck/daylight-ios
Last synced: 8 days ago
JSON representation
A beautiful app that will let you know how much sun you have today.
- Host: GitHub
- URL: https://github.com/bakkenbaeck/daylight-ios
- Owner: bakkenbaeck
- Created: 2016-11-26T06:25:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T16:04:13.000Z (over 1 year ago)
- Last Synced: 2024-11-24T16:48:56.662Z (6 months ago)
- Language: Swift
- Homepage: http://daylight.today/
- Size: 73.4 MB
- Stars: 128
- Watchers: 10
- Forks: 14
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- fucking-open-source-ios-apps - Daylight
README
# Daylight

A beautiful app that will let you know how much sun you have today.
## Running the project
- Open `Project.xcodeproj` and run
## What's interesting about this project?
### Uses a JavaScript library for the sun calculation
Shares the same sun calculation library as the web app. It uses JavaScriptCore to load suncalc.js, you can find the library here: https://github.com/mourner/suncalc. The bridge that converts JavaScript to Swift can be found in [SunCalc.swift](https://github.com/bakkenbaeck/daylight-ios/blob/master/Library/SunCalc.swift).