github malcommac/SwiftRichString 0.9.9
SwiftRichString 0.9.9

latest releases: 4.0.0-alpha-6, 4.0.0-alpha-5, 4.0.0-alpha-4...
8 years ago
  • #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.

Don't miss a new SwiftRichString release

NewReleases is sending notifications on new releases.