Cordate is a small library which makes working with dates much smoother by adding commonly-used extensions, custom UI components, and more.
Swift Package Manager:
// swift-tools-version:6.2
import PackageDescription
let package = Package(
name: "CordateTestProject",
dependencies: [
.package(url: "https://github.com/DuetHealth/Cordate.git", from: "5.0.0")
],
targets: [
.target(name: "CordateTestProject", dependencies: ["Cordate"])
]
)- Refactor calendar into a
CalendarViewclass to enable greater reusability - Add light-weight
DateFormatterwrapper - Rebuild
ManualDateFieldusing custom text logic
Cordate is MIT-licensed. The MIT license is included in the root of the repository.