A beautiful app that will let you know how much sun you have today.
Swift JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Carthage/Build
Daylight.xcodeproj
GitHub
Library
Tests
Today
iOS
.gitignore
Cartfile
Cartfile.resolved
README.md
circle.yml

README.md

Daylight

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.