diff --git a/OHAttributedLabel.podspec b/OHAttributedLabel.podspec index 8dc223c..ad6633f 100644 --- a/OHAttributedLabel.podspec +++ b/OHAttributedLabel.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'OHAttributedLabel' - s.version = '3.5.3' + s.version = '3.5.4' s.license = { :type => 'MIT', :file => 'OHAttributedLabel/LICENSE'} s.platform = :ios s.summary = 'UILabel that supports NSAttributedString.' @@ -22,4 +22,6 @@ Pod::Spec.new do |s| s.framework = 'CoreText' s.requires_arc = true + + s.deprecated_in_favor_of = 'DTCoreText' end diff --git a/README.md b/README.md index 591a40d..b78512d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ +# Depreciation warning! + +Unfortunately, I **no longer have time to maintain this class**. Moreover, as since iOS6, `UILabel` now natively support `NSAttributedStrings`, **this class starts to be quite obsolete now**, and maintaining it requires a lot of work for little benefit with recent projects all supporting iOS6+. + +If you still need some advanced support for `NSAttributedString` and stuff that iOS does not support natively yet, **I strongly recommand the [`DTCoreText`](https://github.com/Cocoanetics/DTCoreText) library** by @Cocoanetics as a replacement — which is a way more complete framework that my own library and let you do much more stuff. + +_Note: If you are willing to take the lead and continue to make it evolve, feel free to contact me so I can give you some GIT access ton continue to maintain it._ + +--- + _Table of Contents_ * [About these classes](#about-these-classes)