Skip to content

Releases: natestedman/Attributed

2.1.0

13 Sep 01:24

Choose a tag to compare

  • Added support for Swift 2.3 and Xcode 8.

2.0.0

19 Apr 02:33

Choose a tag to compare

  • attribute(_:withValue:) has been renamed to attribute(name:value:).
  • attributesWithValues(_:) has been renamed to attributes(values:).
  • Added support to NSURL for NSLinkAttributeName.
  • Added support to number types for NSExpansionAttributeName.

1.0.0

03 Mar 21:43

Choose a tag to compare

  • Global functions now return an AttributeFunction instead of building an AttributedStringConvertible.
  • Improved documentation coverage.

0.4.0: One-to-One

05 Feb 22:41

Choose a tag to compare

Attribute functions now take a single AttributedStringConvertible as input.

To use multiple values, use the join() extension of SequenceType.

0.3.0: Unary

19 Dec 16:15

Choose a tag to compare

  • Removed variadic attribute functions.
  • Added join() for a SequenceType of attribute functions.

0.2.0: Cursory

18 Dec 16:29

Choose a tag to compare

  • 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

07 Nov 16:29

Choose a tag to compare

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.