Skip to content

Releases: fabioalmeida/LabelConfigurator

Added support to Swift 5

06 Jun 00:22
73ff2b8
Compare
Choose a tag to compare

The 0.4.x versions will have support for Swift 5.

If you want to use the Swift 4 version, please refer to a 0.3.x version.

Added Swift 4 support

24 Nov 00:40
82d721d
Compare
Choose a tag to compare

This version adds support to Swift 4.

The interface of the two convenience methods to add attributes to substrings was changed:

func set(attribute: String, value: AnyObject, onSubstring substring: String)
func set(attribute: String, value: AnyObject, onRange range: NSRange)

was updated to

func set(attribute: NSAttributedStringKey, value: Any, onSubstring substring: String)
func set(attribute: NSAttributedStringKey, value: Any, onRange range: NSRange)

Since we now have a new type NSAttributedStringKey that was introduced in Swift 4, we are leveraging it when adding attributes to substrings.

Added proper documentation and examples

24 Nov 00:11
90d29ab
Compare
Choose a tag to compare

Usage examples were added on the "Example" project.

This version requires the following to run:

  • iOS 9 or greater;
  • Swift 3;
  • Xcode 8

Fixed core files not being imported

13 Nov 00:41
Compare
Choose a tag to compare

All the main files were not being properly used when consuming the library using cocoapods since they were not on the correct folder. This version fixes that issue.
Also, added a small example in the Example Project using the library.

First Beta Release

13 Nov 00:24
Compare
Choose a tag to compare

This version should be fully functional with support for Swift 3.