Skip to content

Releases: natestedman/Attributed

2.1.0

Choose a tag to compare

@natestedman natestedman released this 13 Sep 01:24
  • Added support for Swift 2.3 and Xcode 8.

2.0.0

Choose a tag to compare

@natestedman natestedman released this 19 Apr 02:33
  • 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

Choose a tag to compare

@natestedman natestedman released this 03 Mar 21:43
  • Global functions now return an AttributeFunction instead of building an AttributedStringConvertible.
  • Improved documentation coverage.

0.4.0: One-to-One

Choose a tag to compare

@natestedman natestedman released this 05 Feb 22:41

Attribute functions now take a single AttributedStringConvertible as input.

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

0.3.0: Unary

Choose a tag to compare

@natestedman natestedman released this 19 Dec 16:15
  • Removed variadic attribute functions.
  • Added join() for a SequenceType of attribute functions.

0.2.0: Cursory

Choose a tag to compare

@natestedman natestedman released this 18 Dec 16:29
  • 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

Choose a tag to compare

@natestedman natestedman released this 07 Nov 16:29

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.