SwiftRichString Versions Save

👩‍🎨 Elegant Attributed String composition in Swift sauce

3.7.2

3 years ago

Released on 2020-07-07

  • [FIX #118] NSTextAttachment image not rendered with iOS12

3.7.1

4 years ago

Released on: 2020-01-27

CHANGELOG:

  • #104 Fixed an issue with escaping strings. (original: StyleXML issue with & character and other chars needs to be escaped. Introduced a new XMLParsingOptions to StyleXML's xmlParsingOptions property called escapeString (active by default). This function replace all non-parsable characters (by the internal NSXMLParser to parsable string which does not break the internal styling.)

3.7.0

4 years ago

Released on: 2020-01-26

IMPORTANT

Use 3.7.1 release instead of this build.
This build is affected by a bug in escaping string which prevents correct decoding of the XML string for StyleXML.

CHANGELOG:

  • #104 StyleXML issue with & character and other chars needs to be escaped. Introduced a new XMLParsingOptions to StyleXML's xmlParsingOptions property called escapeString (active by default). This function replace all non-parsable characters (by the internal NSXMLParser to parsable string which does not break the internal styling.
  • #102 StandardXMLAttributesResolver not recognizing links if custom style is provided for "a" tag.

3.6.1

4 years ago

Released on: 2020-01-21

CHANGELOG:

  • #103 StyleXML's imageProvider callback provide parsed attributes via attributes param.

3.6.0

4 years ago

Released on: 2020-01-12

CHANGELOG:

  • #101 Added support to provide custom UIImage instances in XML rendering via StyleXML's imageProvider.
  • #98 Fixed an bug with NSTextAttachment which alway tint any placed UIImage.

3.5.1

4 years ago

Released on: 2019-12-24

CHANGELOG:

  • #97 Fixed iOS 8 package compatibility with localizedUppercased/lowercased/capitalized string (iOS 8.x is the minimum requirement)

3.5.0

4 years ago

Released on: 2019-12-22

CHANGELOG:

  • #6 Added support to load local images inside attributed string
  • #95 Added support to load image from remote URL inside attributed string with optional resize and translation
  • #96 Added support for attributed string's composing via Swift 5.1 function builders
  • #93 Added •textTransforms to support live text content transform directly from style (uppercase, lowercase, capitalized and virtually any string transformation function)
  • #90 Fixed .numberSpacing paragraph attribute which is not correctly applied
  • #77 New rewritten XML/HTML tagged string parser with support for custom XML attributes (ie. you can pass <bold color="#d6d6d6"> and provide custom render actions or style overrides for color attribute)
  • #77 Support to handle unknown tag attributes inside the XML string and provide custom actions via XMLDynamicAttributesResolver
  • #94 Fixed error supporting Dynamic Type
  • #88 Setting nil styledText in UIKit control will reset the style as you expect

3.0.4

4 years ago

Released on: 2019-11-11

CHANGELOG

  • #92 Fixed an issue with Style's font which is not preserved after set.

3.0.3

4 years ago

RELEASED ON 2019-09-29

CHANGELOG

– #86 Fix for iOS13 Font regression

3.0.2

4 years ago

RELEASED ON: 2019-09-24

CHANGELOG

  • #84 [FIX] iOS 13 - Setting the font property of a style always results in Times New Roman being used bug
  • #78 [CHG] Allow dashes in tag attribute names