Skip to content
A beautiful app that will let you know how much sun you have today.
Swift JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.github
Carthage/Build
Daylight.xcodeproj
GitHub
Library
SunViewPlayground
Tests
Today
iOS
.gitignore
Cartfile
Cartfile.resolved
README.md

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.

You can’t perform that action at this time.