Releases: natestedman/Attributed
Releases · natestedman/Attributed
2.1.0
2.0.0
attribute(_:withValue:)has been renamed toattribute(name:value:).attributesWithValues(_:)has been renamed toattributes(values:).- Added support to
NSURLforNSLinkAttributeName. - Added support to number types for
NSExpansionAttributeName.
1.0.0
- Global functions now return an
AttributeFunctioninstead of building anAttributedStringConvertible. - Improved documentation coverage.
0.4.0: One-to-One
Attribute functions now take a single AttributedStringConvertible as input.
To use multiple values, use the join() extension of SequenceType.
0.3.0: Unary
- Removed variadic attribute functions.
- Added
join()for aSequenceTypeof attribute functions.
0.2.0: Cursory
- Added an extension for
NSCursor - Added an extension for
String, allowing for tooltip attributes - Additional documentation
- Moved deployment targets back
0.1.0: Initial release
A Swift DSL for Foundation’sNSAttributedString, which is used for rich text formatting on iOS and OS X. The goal is to provide a logical, nested structure reminiscent of markup languages, in a type-safe, composable manner, and to reduce the use of mutable state by eliminating the need for mutable attributed strings.