Skip to content

SwiftUI Package for date and time calculation (библиотека для подсчёта дней и часов)

Notifications You must be signed in to change notification settings

SergeiKriukov/DateCalc

Repository files navigation

DateCalc

Библиотека для юридически значимого подсчёта дней (календарных, рабочих), часов (общих, рабочих).

image

Example

...

Overview

This is an open-source library to use with SwiftUI.

Support

If you like the project, don't forget to put star 🌟.

Navigation

...

Installation

Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

To integrate DateCalc into your Xcode project using Xcode 12, specify it in File > Swift Packages > Add Package Dependency...:

https://github.com/SergeiKriukov/DateCalc.git, :branch="master"

Manually

If you prefer not to use any of dependency managers, you can integrate DateCalc into your project manually. Put Sources/DateCalc folder in your Xcode project. Make sure to enable Copy items if needed and Create groups.

Requirements

  • iOS 14.0+ | macOS 11+
  • Swift 5+

Usage

First, add import DateCalc on every swift file you would like to use DateCalc. ...

import DateCalc
import SwiftUI

struct ContentView: View {
    var body: some View {
      
      ...  
    }
}

Parameters

...

Examples

...

Contributors

All issue reports, feature requests, pull requests and GitHub stars are welcomed and much appreciated.

Author

...

License

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

Projects

The following projects have integrated DateCalc in their App.

  • ...

About

SwiftUI Package for date and time calculation (библиотека для подсчёта дней и часов)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages