Chronology
Robust and type-safe date and time calculations for Swift (by davedelong)
Defaults
💾 Swifty and modern UserDefaults (by sindresorhus)
Our great sponsors
Chronology | Defaults | |
---|---|---|
6 | 5 | |
2,267 | 1,850 | |
- | - | |
8.9 | 6.3 | |
8 days ago | 15 days ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Chronology
Posts with mentions or reviews of Chronology.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-23.
- May I know how do you usually get day difference between 2 Date by ignoring time?
- What are the most underrated third party libraries for Native iOS?
- How can I get the date from a specific timezone without converting to UTC or another timezone?
- How to deal with time zones? Only local time
-
I can't solve a simple Swift problem, and it's driving me insane :)
You shoudl take a look at the libray Time. https://github.com/davedelong/time
-
Why is this highly upvoted StackOVerflow code telling me that the first day of March 2021 is 28 February?
In general you should let the user’s locale determine the specifics of formatting dates. But if you need a specific format you can use the formatting methods here, or use clock.thisMinute().firstInstant.date to drop down to a Date object and use your own DateFormatter instance. But if you use the latter, be sure you set up the date formatter with the same time zone as the Absolute instance that clock.thisMinute() returns.
Defaults
Posts with mentions or reviews of Defaults.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-23.
-
How can I use NSUserDefaults?
I strongly recommend you to use 💾 Defaults package. It has made my life a breeze. It’s literally a global state for user defaults with simple syntax and out of the box “reactiveness”, so if you change this here, it’ll change there as well :)
-
Swift data notation?
I can't recommend https://github.com/sindresorhus/Defaults enough. Type-safe and swifty access to UserDefaults.
-
Help me with user defaults
but this isn't type-safe. Check out https://github.com/sindresorhus/Defaults instead.
- What are the most underrated third party libraries for Native iOS?
- Defaults v5 — Swifty and modern UserDefaults
What are some alternatives?
When comparing Chronology and Defaults you can also consider the following projects:
Tempo - :watch: Date and time manager for iOS/OSX written in Swift
SwiftyUserDefaults - Modern Swift API for NSUserDefaults
SwiftDate - 🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS
Kronos - Elegant NTP date library in Swift
UserDefaultsStore - Why not use UserDefaults to store Codable objects 😉
SwiftMoment
Palau - NSUserDefaults with Wings!
AnyDate - Swifty Date & Time API inspired from Java 8 DateTime API.
FCModel - An alternative to Core Data for people who like having direct SQL access.
Punctual.swift
Storez - 💾 Safe, statically-typed, store-agnostic key-value storage written in Swift!