Библиотека для юридически значимого подсчёта дней (календарных, рабочих), часов (общих, рабочих).
...
This is an open-source library to use with SwiftUI.
If you like the project, don't forget to put star 🌟
.
...
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"
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
.
- iOS 14.0+ | macOS 11+
- Swift 5+
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 {
...
}
}
...
...
All issue reports, feature requests, pull requests and GitHub stars are welcomed and much appreciated.
...
DateCalc
is available under the MIT license. See the ... file for more info.
The following projects have integrated DateCalc in their App.
- ...