From 75cf5ea617cff97765f71438ea085ce1700ebe98 Mon Sep 17 00:00:00 2001 From: Pavel Sharanda Date: Mon, 28 May 2018 09:00:10 +0300 Subject: [PATCH] fix archive builds for new xcode --- Atributika.podspec | 2 +- Sources/Style.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Atributika.podspec b/Atributika.podspec index 5a4aa66..a7fc279 100644 --- a/Atributika.podspec +++ b/Atributika.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Atributika" - s.version = "4.4.2" + s.version = "4.4.3" s.summary = "Convert text with HTML tags, hashtags, mentions, links into NSAttributedString. Make them clickable with UILabel drop-in replacement." s.description = <<-DESC `Atributika` is an easy and painless way to build NSAttributedString. It is able to detect HTML-like tags, links, phone numbers, hashtags, any regex or even standard ios data detectors and style them with various attributes like font, color, etc. `Atributika` comes with drop-in label replacement `AttributedLabel` which is able to make any detection clickable. diff --git a/Sources/Style.swift b/Sources/Style.swift index fa9b283..27c4fc0 100644 --- a/Sources/Style.swift +++ b/Sources/Style.swift @@ -27,6 +27,7 @@ public enum StyleType { // workaround for https://github.com/psharanda/Atributika/issues/27 #if swift(>=4.1) + extension NSAttributedStringKey: Equatable { } extension NSAttributedStringKey: Hashable { } #endif