All Projects → emvakar → EKAstrologyCalc

emvakar / EKAstrologyCalc

Licence: other
Astrology Calculator calculates moon's rise/set times, moon Age, moon phases and Zodiac Sign for location and time

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to EKAstrologyCalc

kerykeion
Kerykeion is a python library for astrology. It can generate SVG charts and extract all data about a birthchart, a composite chart and a transit chart.
Stars: ✭ 72 (+132.26%)
Mutual labels:  zodiac-sign, astronomical-algorithms, astrology-calculator
MMActionSheet
An actionSheet view implement with pure swift
Stars: ✭ 25 (-19.35%)
Mutual labels:  swift-package-manager, swift5
BetterMappable
Better Mappable through Property Wrappers using ObjectMapper
Stars: ✭ 26 (-16.13%)
Mutual labels:  swift-package-manager, swift5
TVToday
iOS TV Shows app with TMDb Api. RxSwift, MVVM, Clean Architecture. Tuist + Swift Package Manager
Stars: ✭ 27 (-12.9%)
Mutual labels:  swift-package-manager, swift5
Match3Kit
Library for simple Match3 games.
Stars: ✭ 38 (+22.58%)
Mutual labels:  swift-package-manager, swift5
MLLineChart
A simple Line Chart Lib
Stars: ✭ 28 (-9.68%)
Mutual labels:  swift-package-manager, swift-framework
YMFF
Feature management made easy.
Stars: ✭ 26 (-16.13%)
Mutual labels:  swift-package-manager, swift-framework
SwiftGradients
Useful extensions for UIViews and CALayer classes to add beautiful color gradients.
Stars: ✭ 15 (-51.61%)
Mutual labels:  swift-package-manager, swift5
JSONPreview
🎨 A view that previews JSON in highlighted form, it also provides the ability to format and collapse nodes.
Stars: ✭ 21 (-32.26%)
Mutual labels:  swift-package-manager, swift5
Combinative
UI event handling using Apple's combine framework.
Stars: ✭ 106 (+241.94%)
Mutual labels:  swift-package-manager, swift5
Table
CLI tables in Swift
Stars: ✭ 53 (+70.97%)
Mutual labels:  swift-package-manager, swift5
SETabView
SETabView is a TabBar with simple yet beautiful animations that makes your apps look cool!
Stars: ✭ 53 (+70.97%)
Mutual labels:  swift-package-manager, swift5
Swift-FFDB
a Object/Relational Mapping (ORM) support to iOS and MacOS .Since SwiftFFDB is build on top of FMDB.
Stars: ✭ 22 (-29.03%)
Mutual labels:  swift-package-manager, swift5
PagedLists
Paginated UITableView and UICollectionViews for iOS.
Stars: ✭ 69 (+122.58%)
Mutual labels:  swift-package-manager, swift5
extensions-kit
📦 Collection of Swift+Apple Frameworks extensions for speeding up software development [iOS & iPadOS].
Stars: ✭ 71 (+129.03%)
Mutual labels:  swift-package-manager, swift-framework
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (+470.97%)
Mutual labels:  swift-package-manager, swift-framework
Simplycoreaudio
A Swift framework that aims to make Core Audio use less tedious in macOS
Stars: ✭ 167 (+438.71%)
Mutual labels:  swift-package-manager, swift-framework
Carekit
CareKit is an open source software framework for creating apps that help people better understand and manage their health.
Stars: ✭ 2,142 (+6809.68%)
Mutual labels:  swift-package-manager, swift5
core-data-model-description
Declarative way to describe a Core Data model in code.
Stars: ✭ 60 (+93.55%)
Mutual labels:  swift-package-manager, swift5
Shift
Light-weight EventKit wrapper.
Stars: ✭ 31 (+0%)
Mutual labels:  swift-package-manager, swift5

Swift Version Cocoapods Build Status

Astrology Calculator

This is Moon Calc Framework written on Swift Get moon phase by Date and Location

What we can do right now:

  • set and rise moon
  • get moon Age
  • get moon rise
  • get moon set
  • get zodiac sign
  • get moon phase
  • get moon trajectory
  • get moon illumination
  • get moon rise if rise on past date
  • get moon set if set on future date
  • get zodiac sign rise time
  • get zodiac sign set time
  • get mercury status and times
  • get eclipse times (begin, duration, finish)
  • create UI for calendar

Support EKAstrologyCalc development by giving a ⭐️

Installation

via Swift Package Manager

    .package(url: "https://github.com/emvakar/EKAstrologyCalc.git", from: "1.0.4")

Usage

import UIKit
import CoreLocation
import EKAstrologyCalc

class ViewController: UIViewController {

    let location = CLLocation(latitude: 55.751244, longitude: 37.618423) // Moscow
    var moonPhaseManager: EKAstrologyCalc!

    override func viewDidLoad() {
        super.viewDidLoad()
        
        moonPhaseManager = EKAstrologyCalc(location: location)

        let info = moonPhaseManager.getInfo(date: Date())

        print("Current localtion: -", info.location.coordinate)

        print("Moon days at", "current date: -", info.date)
        info.moonModels.forEach {
            print("===========")
            print("Moon Age: -", $0.age)
            print("Moon rise: -", $0.moonRise)
            print("Moon set: -", $0.moonSet)
        }
        print("===========")
        print("Moon phase: -", info.phase)
        print("Moon trajectory: -", info.trajectory)
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].