{"repo":"Elyahu41/KosherSwift","free":true,"listed":false,"github":"https://github.com/Elyahu41/KosherSwift","clone":"git clone https://github.com/Elyahu41/KosherSwift.git","description":"KosherJava Zmanim API / Library ported to Swift. KosherJava is a library used to calculate astronomical and religious dates and times based on your location.","language":"Swift","stars":15,"topics":["calendar","calendars","daf-yomi","dawn","dusk","hebrew-calendar","hebrew-date","jewish","jewish-calendar","jewish-holidays"],"license":"LGPL-2.1","category":"productivity","readme_excerpt":"KosherSwift Zmanim API ===================== This Zmanim library is an API for a specialized calendar that can calculate different astronomical times including sunrise and sunset and Jewish zmanim or religious times for prayers and other Jewish religious duties. For non religious astronomical / solar calculations use the AstronomicalCalendar. The ZmanimCalendar contains the most common zmanim or religious time calculations. For a much more extensive list of zmanim use the ComplexZmanimCalendar. This class contains the main functionality of the Zmanim library. For a basic set of instructions on the use of the API, see How to Use the Zmanim API, zmanim code samples and the KosherJava FAQ. See the KosherJava Zmanim site for additional information. Get Started Add KosherSwift as a dependency to your project: Copy this line: Go to Package Dependencies in Xcode and search for this repository and add it! If you want to use CocoaPods add this line to your podfile: KosherSwift was already taken on CocoaPods, hence the \"New\" How To Use This API ------- Once you have added this project, you can go to any file/viewcontroller and import the framework: If you used CocoaPods: Then, it is as simple as instantiating a class and calling it's methods: For sunrise and sunset times, you will need a GeoLocation object. Then, you will need to pass that into the AstronomicalCalendar class like so: For zmanim, you will do the same thing, just use the ComplexZmanimCalendar or ZmanimCalendar classes: I","default_branch":null,"files":null,"tree":[],"storefront":"/r/Elyahu41","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Elyahu41/KosherSwift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}