Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T16:04:13.000Z (over 1 year ago)
- Last Synced: 2024-08-03T17:16:56.984Z (6 months ago)
- Language: Swift
- Homepage: http://daylight.today/
- Size: 73.4 MB
- Stars: 125
- 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
![Daylight](https://github.com/bakkenbaeck/daylight-ios/blob/master/GitHub/screenshots.png?raw=true)
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).