Latest 1.1.1
License MIT
Platforms ios 10.0

SunshineKit is a framework which calculates various Sun related data, such as:

  • sunrise, sunset and transit
  • Ascension
  • Zenith
  • Incidence
  • Azimuth
  • height
  • shadow length and direction

    SunshineKit supports two Solar Position Algorithms (SPA). One is from the german Wikipedia, the other is from NREL. The NREL SPA is far more complex but also more accurate.

    You can use SunshineKit to calculate the data above for one point in time or if you use the NREL SPA, you can let SunshineKit calculate data points for every hour, every minute or every second of a day. SunshineKit is then using the Apple Accelerate framework for faster processing.

    If you do not need all data points, you can choose the needed data points with the Fragments-Enums.

Latest podspec

    "name": "SunshineKit",
    "summary": "Framework that calculates various Sun related data",
    "version": "1.1.1",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Oleg Mu00fcller": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1.1"
    "platforms": {
        "ios": "10.0"
    "source_files": "SunshineKit/Source/**/*.swift",
    "ios": {
        "frameworks": [
    "swift_version": "4.2"

Pin It on Pinterest

Share This