Latest 1.0.0
Homepage https://github.com/scytalion/SunshineKit
License MIT
Platforms ios 10.0
Authors

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 Sun 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.0.0",
    "homepage": "https://github.com/scytalion/SunshineKit",
    "license": "MIT",
    "authors": {
        "Oleg Mu00fcller": "[email protected]"
    },
    "source": {
        "git": "https://github.com/scytalion/SunshineKit.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "SunshineKit/Source/**/*.swift",
    "ios": {
        "frameworks": [
            "Foundation",
            "Accelerate",
            "CoreLocation"
        ]
    },
    "swift_version": "4.0"
}

Pin It on Pinterest

Share This