diff --git a/.build/manifest.db b/.build/manifest.db
new file mode 100644
index 00000000..21aabd1c
Binary files /dev/null and b/.build/manifest.db differ
diff --git a/.build/workspace-state.json b/.build/workspace-state.json
new file mode 100644
index 00000000..143ddbfd
--- /dev/null
+++ b/.build/workspace-state.json
@@ -0,0 +1 @@
+{"object": {"artifacts": [], "dependencies": []}, "version": 4}
\ No newline at end of file
diff --git a/Package.swift b/Package.swift
new file mode 100644
index 00000000..354a4e10
--- /dev/null
+++ b/Package.swift
@@ -0,0 +1,27 @@
+// swift-tools-version:5.3
+import PackageDescription
+
+
+let package = Package(
+ name: "TTTAttributedLabel",
+ platforms: [.iOS(.v9)],
+ products: [
+ .library(
+ name: "TTTAttributedLabel",
+ targets: ["TTTAttributedLabel"]
+ ),
+ .library(
+ name: "TTTAttributedLabelDynamic",
+ type: .dynamic,
+ targets: ["TTTAttributedLabel"]
+ ),
+ ],
+ targets: [
+ .target(
+ name: "TTTAttributedLabel",
+ path: "TTTAttributedLabel",
+ exclude: ["Example", "Carthage"],
+ publicHeadersPath: "."
+ )
+ ]
+)
diff --git a/TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist b/TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist
new file mode 100644
index 00000000..57ada9f9
--- /dev/null
+++ b/TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist
@@ -0,0 +1,25 @@
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(CURRENT_PROJECT_VERSION)
+ NSPrincipalClass
+
+
+
diff --git a/TTTAttributedLabel.xcodeproj/project.pbxproj b/TTTAttributedLabel.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..5197dce8
--- /dev/null
+++ b/TTTAttributedLabel.xcodeproj/project.pbxproj
@@ -0,0 +1,331 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ OBJ_27 /* TTTAttributedLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_10 /* TTTAttributedLabel.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ OBJ_10 /* TTTAttributedLabel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TTTAttributedLabel.m; sourceTree = ""; };
+ OBJ_14 /* Example */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Example; sourceTree = SOURCE_ROOT; };
+ OBJ_15 /* Carthage */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Carthage; sourceTree = SOURCE_ROOT; };
+ OBJ_16 /* TTTAttributedLabel */ = {isa = PBXFileReference; lastKnownFileType = folder; path = TTTAttributedLabel; sourceTree = SOURCE_ROOT; };
+ OBJ_17 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = ""; };
+ OBJ_18 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
+ OBJ_19 /* TTTAttributedLabel.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = TTTAttributedLabel.podspec; sourceTree = ""; };
+ OBJ_20 /* CONTRIBUTING.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CONTRIBUTING.md; sourceTree = ""; };
+ OBJ_21 /* circle.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = circle.yml; sourceTree = ""; };
+ OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; };
+ OBJ_9 /* TTTAttributedLabel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TTTAttributedLabel.h; sourceTree = ""; };
+ "TTTAttributedLabel::TTTAttributedLabel::Product" /* TTTAttributedLabel.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TTTAttributedLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ OBJ_28 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ OBJ_11 /* Tests */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Tests;
+ sourceTree = SOURCE_ROOT;
+ };
+ OBJ_12 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ "TTTAttributedLabel::TTTAttributedLabel::Product" /* TTTAttributedLabel.framework */,
+ );
+ name = Products;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+ OBJ_5 /* */ = {
+ isa = PBXGroup;
+ children = (
+ OBJ_6 /* Package.swift */,
+ OBJ_7 /* Sources */,
+ OBJ_11 /* Tests */,
+ OBJ_12 /* Products */,
+ OBJ_14 /* Example */,
+ OBJ_15 /* Carthage */,
+ OBJ_16 /* TTTAttributedLabel */,
+ OBJ_17 /* LICENSE */,
+ OBJ_18 /* README.md */,
+ OBJ_19 /* TTTAttributedLabel.podspec */,
+ OBJ_20 /* CONTRIBUTING.md */,
+ OBJ_21 /* circle.yml */,
+ );
+ name = "";
+ sourceTree = "";
+ };
+ OBJ_7 /* Sources */ = {
+ isa = PBXGroup;
+ children = (
+ OBJ_8 /* TTTAttributedLabel */,
+ );
+ name = Sources;
+ sourceTree = SOURCE_ROOT;
+ };
+ OBJ_8 /* TTTAttributedLabel */ = {
+ isa = PBXGroup;
+ children = (
+ OBJ_9 /* TTTAttributedLabel.h */,
+ OBJ_10 /* TTTAttributedLabel.m */,
+ );
+ path = TTTAttributedLabel;
+ sourceTree = SOURCE_ROOT;
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ "TTTAttributedLabel::SwiftPMPackageDescription" /* TTTAttributedLabelPackageDescription */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = OBJ_30 /* Build configuration list for PBXNativeTarget "TTTAttributedLabelPackageDescription" */;
+ buildPhases = (
+ OBJ_33 /* Sources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = TTTAttributedLabelPackageDescription;
+ productName = TTTAttributedLabelPackageDescription;
+ productType = "com.apple.product-type.framework";
+ };
+ "TTTAttributedLabel::TTTAttributedLabel" /* TTTAttributedLabel */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = OBJ_23 /* Build configuration list for PBXNativeTarget "TTTAttributedLabel" */;
+ buildPhases = (
+ OBJ_26 /* Sources */,
+ OBJ_28 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = TTTAttributedLabel;
+ productName = TTTAttributedLabel;
+ productReference = "TTTAttributedLabel::TTTAttributedLabel::Product" /* TTTAttributedLabel.framework */;
+ productType = "com.apple.product-type.framework";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ OBJ_1 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastSwiftMigration = 9999;
+ LastUpgradeCheck = 9999;
+ };
+ buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "TTTAttributedLabel" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = OBJ_5 /* */;
+ productRefGroup = OBJ_12 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ "TTTAttributedLabel::TTTAttributedLabel" /* TTTAttributedLabel */,
+ "TTTAttributedLabel::SwiftPMPackageDescription" /* TTTAttributedLabelPackageDescription */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ OBJ_26 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 0;
+ files = (
+ OBJ_27 /* TTTAttributedLabel.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ OBJ_33 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ OBJ_24 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ENABLE_TESTABILITY = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PLATFORM_DIR)/Developer/Library/Frameworks",
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(SRCROOT)/TTTAttributedLabel/include",
+ );
+ INFOPLIST_FILE = TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
+ OTHER_CFLAGS = "$(inherited)";
+ OTHER_LDFLAGS = "$(inherited)";
+ OTHER_SWIFT_FLAGS = "$(inherited)";
+ PRODUCT_BUNDLE_IDENTIFIER = TTTAttributedLabel;
+ PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+ SKIP_INSTALL = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
+ TARGET_NAME = TTTAttributedLabel;
+ TVOS_DEPLOYMENT_TARGET = 9.0;
+ WATCHOS_DEPLOYMENT_TARGET = 3.0;
+ };
+ name = Debug;
+ };
+ OBJ_25 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ENABLE_TESTABILITY = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PLATFORM_DIR)/Developer/Library/Frameworks",
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(SRCROOT)/TTTAttributedLabel/include",
+ );
+ INFOPLIST_FILE = TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
+ OTHER_CFLAGS = "$(inherited)";
+ OTHER_LDFLAGS = "$(inherited)";
+ OTHER_SWIFT_FLAGS = "$(inherited)";
+ PRODUCT_BUNDLE_IDENTIFIER = TTTAttributedLabel;
+ PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
+ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+ SKIP_INSTALL = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
+ TARGET_NAME = TTTAttributedLabel;
+ TVOS_DEPLOYMENT_TARGET = 9.0;
+ WATCHOS_DEPLOYMENT_TARGET = 3.0;
+ };
+ name = Release;
+ };
+ OBJ_3 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COMBINE_HIDPI_IMAGES = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
+ ENABLE_NS_ASSERTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "$(inherited)",
+ "SWIFT_PACKAGE=1",
+ "DEBUG=1",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
+ ONLY_ACTIVE_ARCH = YES;
+ OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = macosx;
+ SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ USE_HEADERMAP = NO;
+ };
+ name = Debug;
+ };
+ OBJ_31 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ LD = /usr/bin/true;
+ OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -package-description-version 5.3.0";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ OBJ_32 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ LD = /usr/bin/true;
+ OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -package-description-version 5.3.0";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+ OBJ_4 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COMBINE_HIDPI_IMAGES = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
+ GCC_OPTIMIZATION_LEVEL = s;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "$(inherited)",
+ "SWIFT_PACKAGE=1",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
+ OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = macosx;
+ SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE";
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ USE_HEADERMAP = NO;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ OBJ_2 /* Build configuration list for PBXProject "TTTAttributedLabel" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ OBJ_3 /* Debug */,
+ OBJ_4 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ OBJ_23 /* Build configuration list for PBXNativeTarget "TTTAttributedLabel" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ OBJ_24 /* Debug */,
+ OBJ_25 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ OBJ_30 /* Build configuration list for PBXNativeTarget "TTTAttributedLabelPackageDescription" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ OBJ_31 /* Debug */,
+ OBJ_32 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = OBJ_1 /* Project object */;
+}
diff --git a/TTTAttributedLabel.xcodeproj/xcshareddata/xcschemes/TTTAttributedLabel-Package.xcscheme b/TTTAttributedLabel.xcodeproj/xcshareddata/xcschemes/TTTAttributedLabel-Package.xcscheme
new file mode 100644
index 00000000..c57e2ba8
--- /dev/null
+++ b/TTTAttributedLabel.xcodeproj/xcshareddata/xcschemes/TTTAttributedLabel-Package.xcscheme
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/TTTAttributedLabel/TTTAttributedLabel.h b/TTTAttributedLabel/TTTAttributedLabel.h
index 322730a5..e467979b 100644
--- a/TTTAttributedLabel/TTTAttributedLabel.h
+++ b/TTTAttributedLabel/TTTAttributedLabel.h
@@ -163,7 +163,7 @@ IB_DESIGNABLE
/**
Indicates if links will be detected within an extended area around the touch
- to emulate the link detection behaviour of UIWebView.
+ to emulate the link detection behaviour of WKWebView.
Default value is NO. Enabling this may adversely impact performance.
*/
@property (nonatomic, assign) BOOL extendsLinkTouchArea;