Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 3.45 KB

CHANGELOG.md

File metadata and controls

84 lines (58 loc) · 3.45 KB

SwiftRichString

CHANGELOG


This is a total rewrite of the library to simplify and consolidate the APIs functionalities. See documentation in README for detailed informations.


  • #26 Fixed an issue when parsing <br> in MarkupString class
  • #29 Fixed several warnings coming to Swift 4

This is the first version compatible with Swift 4.


Fix minor issue compiling with Xcode 9 and Swift 3.2


  • Release Date: 2017-07-06

  • Zipped Version: Download 0.9.9

  • #18 Added renderTags(withStyles:) func in String extension. It will a shortcut to parse an html-tagged string and return the NSMutableAttributedString instance.

  • #19 MarkupString classes does not throws anymore; when parsing fails to invalid strings it will return nil.

  • #5 A new function is added to parse multiple regular expressions and apply to each one one or more styles. It's called func set(regExpStyles: [RegExpPatternStyles], default dStyle: Style? = nil) -> NSMutableAttributedString and accepts an array of RegExpPatternStyles structs (which defines the regexp rule, options and and array of Style to apply on match). default parameter allows you to set a default style to apply before rules are evaluated.

  • #2 Resolved an issue with CocoaPods

  • #20 Added compatibility with watchOS, tvOS and macOS.


  • Release Date: 2017-04-02

  • Zipped Version: Download 0.9.8

  • [#4] Added set(stylesArray:) with func in String extension


  • Release Date: 2017-03-01

  • Zipped Version: Download 0.9.5

  • #4 Added support for .writingDirection