ISO8601 alternatives and similar libraries
Based on the "Text" category.
Alternatively, view ISO8601 alternatives based on common mentions on social networks and blogs.
-
PhoneNumberKit
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber. -
ZSSRichTextEditor
A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view -
Twitter Text Obj
Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform. -
FontAwesomeKit
Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons. -
TwitterTextEditor
A standalone, flexible API that provides a full-featured rich text editor for iOS applications. -
SwiftyMarkdown
Converts Markdown files and strings into NSAttributedStrings with lots of customisation options. -
Atributika
Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement. -
SwiftIconFont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon) -
NSStringEmojize
A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters -
Mustard
🌭 Mustard is a Swift library for tokenizing strings when splitting by whitespace doesn't cut it. -
Heimdall
Heimdall is a wrapper around the Security framework for simple encryption/decryption operations. -
AttributedTextView
Easiest way to create an attributed UITextView (with support for multiple links and from html)
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ISO8601 or a related project?
README
ISO8601
❤️ Support my apps ❤️
- Push Hero - pure Swift native macOS application to test push notifications
- PastePal - Pasteboard, note and shortcut manager
- Quick Check - smart todo manager
- Alias - App and file shortcut manager
- My other apps
❤️❤️😇😍🤘❤️❤️
ISO8601 in Swift
[](Screenshots/Banner.png)
Description
My answer on How do I get ISO 8601 date in iOS?
Usage
Formatter
Create a new formatter
var config = Config()
config.timeZoneIdentifier = " +0000"
let formatter = Formatter(config: config)
or use the default
Formatter.shared
Convert string to date
Formatter.shared.date(string: "2016-04-08T10:25:30Z") // extended format with Z
Formatter.shared.date(string: "20160408 10:25:30Z") // basic format with Z
Formatter.shared.date(string: "2016-04-08 112530 +010000") // extended format with timezone offset
Formatter.shared.date(string: "2016-04-08 202530GMT+1000") // extended format with GMT
Formatter.shared.date(string: "2016-04-08T10:25:30.000Z") // milliseconds
Convert date to string
let date = Date(timeIntervalSince1970: 1460111130)
Formatter.shared.string(date: date) // 2016-04-08T10:25:30Z // timezone Z
Installation
ISO8601 is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ISO8601', git: 'https://github.com/onmyway133/ISO8601'
ISO8601 is also available through Carthage. To install just write into your Cartfile:
github "onmyway133/ISO8601"
Author
Khoa Pham, [email protected]
Contributing
We would love you to contribute to ISO8601, check the CONTRIBUTING file for more info.
License
ISO8601 is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the ISO8601 README section above
are relevant to that project's source code only.