ActiveLabel.swift Versions Save

UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift

0.6.0

7 years ago

Allow custom patterns highlighting via regex

The ability to allow custom regex patterns to highlight text has been highly demanded. Now it is available since #98

0.5.1

7 years ago

😁 This version includes a lot of bug fixes 😁

FEATURES:

  • Mention and hashtag filtering (#61) - @krjackso

FIXES:

  • Autolayout issues (#77, #85) - @Econa77 & @nxtstep
  • Clear text when setting empty string (#81) - @Econa77
  • Display text on uncustomized label (#74) - @Econa77
  • Spacing issues (#75, #76) - @Econa77
  • Selected colors not applied appropriately (#65) - @robtimp
  • Fixed wrong URL detection (#69) - @wowbroforce
  • Add support for accent/diacritics (#59) - @lastMove

0.5.0

8 years ago

Batched customizations

Introducing a new way to apply multiple customizations and avoid performance issues, see more HERE

FIXES

0.4.2

8 years ago

FIXING An incorrect layout/size. That occurred after the structural refactor. (#46 thanks @kaandedeoglu )

0.4.1

8 years ago

FIXES

  • Fixes NSRangeException issue (#14), that was introduced by #40.

0.4.0

8 years ago

:warning: This version contains a full refactor of the internal logic of the library. (#40)

. Breaking changes inside:

  • Rethought way to extract elements from the label text
  • Perform only necessary things when changing variables
  • Move urlDetector to use regex

In a sample code, this is the difference of the necessary time to configure a label.

Before After
Necessary time (s) 0.015 - 0.020 0.0005 - 0.0007

Disclaimer: The exact amount of time totally depends on the label changes that you do when customising it, but the important thing is that it is up to 10x less time :scream:

For more information, please take a look at #40

0.3.7

8 years ago
  • Fixing wrong vertical alignment (as pointed out in #24 , #30 and #32)

⬇️ Added precompiled framework for Carthage to be faster