Skip to content

Releases: Nirma/Attributed

Eccentric Text

16 Jun 05:37
Compare
Choose a tag to compare

Summary

This is a purely additive release.

The new functionality is the addition of the function uniformLineHeight:

func uniformLineHeight(_ uniformLineHeight: CGFloat) -> Attributes { ... }

This function is to be used when an attributed string has the same value for both minimumLineHeight and maximumLineHeight
allowing this to be specified in one line rather than two.

Side Note

Up until now I have not been keeping a change log, despite believing in their value when trying to piece together the history of a repository.

From this release forward there is a proper change log in the root of this repository here.

Red Brick

24 Apr 03:08
Compare
Choose a tag to compare

This release includes a bug fix for the attributed extensions to NSAttributedString that
was introduced by mistake in the 1.0.0 release.

Thanks so much @vfn for pointing that out!!

Also included in this release is a new feature from @hiragram that adds support for using
NSLinkAttributeName .

Thanks @vfn and @hiragram 💯

Version 1.0!

19 Apr 11:53
Compare
Choose a tag to compare

This release is mainly just a refactoring of the API but this update is a breaking change, therefore it might be wise to raise the version number to 1.0.0.

Rather than extending String, NSString and NSAttributedString directly extensions are now made on an Attributed class with the clause where Base == (Type) .

Basically what was before written as "Hello".attributed(with: attributes) is now written with an .at after the String i.e "Hello".at.attributed(with: attributes)

Enjoy!

Melty Text

13 Apr 03:34
Compare
Choose a tag to compare

This is a minor release to support Swift 3.1 with a tiny bit of internal code refactoring.

Enjoy!

Support for all (from iOS 8.0 that is)

21 Mar 10:41
Compare
Choose a tag to compare

This is a minor but important release.
Support has been widened to iOS 8.0+

Jaguar (Panthera onca)

24 Feb 04:53
Compare
Choose a tag to compare

New Features

This release provides support for using attributes NSObliquenessAttributeName, NSShadowAttributeName.
These attributes can be accessed by using the corresponding shadow(_ shadow: NSShadow) and obliqueness(_ value: CGFloat) methods that were added in this release.

@EndouMari Thank you for adding this!

Improved!

14 Feb 16:17
Compare
Choose a tag to compare

This release addresses an error caught by @andreyz in issue #6 and corrected by @QuanSai by pull request #7.

Thanks so much for the support!!

Better!

08 Feb 05:13
Compare
Choose a tag to compare

This release addresses an issue where some of Attributes methods not properly being exposed.
Aside from that no other features or tweaks have been introduced.

Attributed!!

26 Dec 06:00
Compare
Choose a tag to compare

First Release!!