/SwiftPrayTimes

Pray Times provides a set of handy functions to calculate prayer times for any location around the world, based on a variety of calculation methods currently used in Muslim communities.

Primary LanguageSwiftMIT LicenseMIT

SwiftPrayTimes

Version License Platform

Development on SwiftPrayTimes has been discontinued in favor of contributing to the new prayer time project Adhan.

Pray Times provides a set of handy functions to calculate prayer times for any location around the world, based on a variety of calculation methods currently used in Muslim communities.

The code is originally written in JavaScript from http://praytimes.org and translated to Swift. Pray Times is an Islamic project aimed at providing an open-source library for calculating Muslim prayers times. The first version of Pray Times was released in early 2007. The code is currently used in a wide range of Islamic websites and applications.

SwiftPrayTimes is being used in the iPhone and Apple Watch called Pray Watch. It can be downloaded here to see it in action: http://appstore.com/praywatch

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

CocoaPods

SwiftPrayTimes is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SwiftPrayTimes"

Carthage

You can use Carthage to install SwiftPrayTimes by adding it to your Cartfile:

github "ZamzamInc/SwiftPrayTimes"

Author

http://zamzam.io

License

SwiftPrayTimes is available under the MIT license. See the LICENSE file for more info.