├── .swift-version ├── LICENSE.md ├── MessageLabel.podspec ├── MessageLabel.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── steven.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── steven.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── README.md ├── Sources ├── Info.plist ├── MessageLabel.h └── MessageLabel.swift └── Tests ├── Info.plist └── MessageLabelTests.swift /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 MessageKit 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /MessageLabel.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | 3 | s.name = "MessageLabel" 4 | s.version = "0.0.1" 5 | s.summary = "A label to be used in MessageKit" 6 | s.license = { :type => "MIT", :file => "LICENSE" } 7 | s.homepage = "https://github.com/SD10/MessageLabel" 8 | s.author = { "Steven Deutsch" => "stevensdeutsch@yahoo.com" } 9 | s.social_media_url = "https://twitter.com/_SD10_" 10 | s.platform = :ios, "9.0" 11 | s.requires_arc = true 12 | s.source = { git: "https://github.com/SD10/MessageLabel.git", tag: "#{s.version}" } 13 | s.source_files = "Sources/*.swift" 14 | s.pod_target_xcconfig = { 15 | "SWIFT_VERSION" => "4.0", 16 | } 17 | end 18 | -------------------------------------------------------------------------------- /MessageLabel.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 48; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | B006FA171F99F14F00509C46 /* MessageLabel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B006FA0D1F99F14E00509C46 /* MessageLabel.framework */; }; 11 | B006FA1C1F99F14F00509C46 /* MessageLabelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B006FA1B1F99F14F00509C46 /* MessageLabelTests.swift */; }; 12 | B006FA1E1F99F14F00509C46 /* MessageLabel.h in Headers */ = {isa = PBXBuildFile; fileRef = B006FA101F99F14E00509C46 /* MessageLabel.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | B006FA291F99F6D300509C46 /* MessageLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B006FA281F99F6D300509C46 /* MessageLabel.swift */; }; 14 | /* End PBXBuildFile section */ 15 | 16 | /* Begin PBXContainerItemProxy section */ 17 | B006FA181F99F14F00509C46 /* PBXContainerItemProxy */ = { 18 | isa = PBXContainerItemProxy; 19 | containerPortal = B006FA041F99F14E00509C46 /* Project object */; 20 | proxyType = 1; 21 | remoteGlobalIDString = B006FA0C1F99F14E00509C46; 22 | remoteInfo = MessageLabel; 23 | }; 24 | /* End PBXContainerItemProxy section */ 25 | 26 | /* Begin PBXFileReference section */ 27 | B006FA0D1F99F14E00509C46 /* MessageLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | B006FA101F99F14E00509C46 /* MessageLabel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MessageLabel.h; sourceTree = ""; }; 29 | B006FA111F99F14E00509C46 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 30 | B006FA161F99F14F00509C46 /* MessageLabelTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MessageLabelTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | B006FA1B1F99F14F00509C46 /* MessageLabelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageLabelTests.swift; sourceTree = ""; }; 32 | B006FA1D1F99F14F00509C46 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 33 | B006FA281F99F6D300509C46 /* MessageLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageLabel.swift; sourceTree = ""; }; 34 | /* End PBXFileReference section */ 35 | 36 | /* Begin PBXFrameworksBuildPhase section */ 37 | B006FA091F99F14E00509C46 /* Frameworks */ = { 38 | isa = PBXFrameworksBuildPhase; 39 | buildActionMask = 2147483647; 40 | files = ( 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | B006FA131F99F14F00509C46 /* Frameworks */ = { 45 | isa = PBXFrameworksBuildPhase; 46 | buildActionMask = 2147483647; 47 | files = ( 48 | B006FA171F99F14F00509C46 /* MessageLabel.framework in Frameworks */, 49 | ); 50 | runOnlyForDeploymentPostprocessing = 0; 51 | }; 52 | /* End PBXFrameworksBuildPhase section */ 53 | 54 | /* Begin PBXGroup section */ 55 | B006FA031F99F14E00509C46 = { 56 | isa = PBXGroup; 57 | children = ( 58 | B006FA0F1F99F14E00509C46 /* Sources */, 59 | B006FA1A1F99F14F00509C46 /* Tests */, 60 | B006FA0E1F99F14E00509C46 /* Products */, 61 | ); 62 | sourceTree = ""; 63 | }; 64 | B006FA0E1F99F14E00509C46 /* Products */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | B006FA0D1F99F14E00509C46 /* MessageLabel.framework */, 68 | B006FA161F99F14F00509C46 /* MessageLabelTests.xctest */, 69 | ); 70 | name = Products; 71 | sourceTree = ""; 72 | }; 73 | B006FA0F1F99F14E00509C46 /* Sources */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | B006FA101F99F14E00509C46 /* MessageLabel.h */, 77 | B006FA111F99F14E00509C46 /* Info.plist */, 78 | B006FA281F99F6D300509C46 /* MessageLabel.swift */, 79 | ); 80 | path = Sources; 81 | sourceTree = ""; 82 | }; 83 | B006FA1A1F99F14F00509C46 /* Tests */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | B006FA1B1F99F14F00509C46 /* MessageLabelTests.swift */, 87 | B006FA1D1F99F14F00509C46 /* Info.plist */, 88 | ); 89 | path = Tests; 90 | sourceTree = ""; 91 | }; 92 | /* End PBXGroup section */ 93 | 94 | /* Begin PBXHeadersBuildPhase section */ 95 | B006FA0A1F99F14E00509C46 /* Headers */ = { 96 | isa = PBXHeadersBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | B006FA1E1F99F14F00509C46 /* MessageLabel.h in Headers */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | /* End PBXHeadersBuildPhase section */ 104 | 105 | /* Begin PBXNativeTarget section */ 106 | B006FA0C1F99F14E00509C46 /* MessageLabel */ = { 107 | isa = PBXNativeTarget; 108 | buildConfigurationList = B006FA211F99F14F00509C46 /* Build configuration list for PBXNativeTarget "MessageLabel" */; 109 | buildPhases = ( 110 | B006FA081F99F14E00509C46 /* Sources */, 111 | B006FA091F99F14E00509C46 /* Frameworks */, 112 | B006FA0A1F99F14E00509C46 /* Headers */, 113 | B006FA0B1F99F14E00509C46 /* Resources */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = MessageLabel; 120 | productName = MessageLabel; 121 | productReference = B006FA0D1F99F14E00509C46 /* MessageLabel.framework */; 122 | productType = "com.apple.product-type.framework"; 123 | }; 124 | B006FA151F99F14F00509C46 /* MessageLabelTests */ = { 125 | isa = PBXNativeTarget; 126 | buildConfigurationList = B006FA241F99F14F00509C46 /* Build configuration list for PBXNativeTarget "MessageLabelTests" */; 127 | buildPhases = ( 128 | B006FA121F99F14F00509C46 /* Sources */, 129 | B006FA131F99F14F00509C46 /* Frameworks */, 130 | B006FA141F99F14F00509C46 /* Resources */, 131 | ); 132 | buildRules = ( 133 | ); 134 | dependencies = ( 135 | B006FA191F99F14F00509C46 /* PBXTargetDependency */, 136 | ); 137 | name = MessageLabelTests; 138 | productName = MessageLabelTests; 139 | productReference = B006FA161F99F14F00509C46 /* MessageLabelTests.xctest */; 140 | productType = "com.apple.product-type.bundle.unit-test"; 141 | }; 142 | /* End PBXNativeTarget section */ 143 | 144 | /* Begin PBXProject section */ 145 | B006FA041F99F14E00509C46 /* Project object */ = { 146 | isa = PBXProject; 147 | attributes = { 148 | LastSwiftUpdateCheck = 0900; 149 | LastUpgradeCheck = 0900; 150 | ORGANIZATIONNAME = MessageKit; 151 | TargetAttributes = { 152 | B006FA0C1F99F14E00509C46 = { 153 | CreatedOnToolsVersion = 9.0; 154 | LastSwiftMigration = 0900; 155 | ProvisioningStyle = Automatic; 156 | }; 157 | B006FA151F99F14F00509C46 = { 158 | CreatedOnToolsVersion = 9.0; 159 | ProvisioningStyle = Automatic; 160 | }; 161 | }; 162 | }; 163 | buildConfigurationList = B006FA071F99F14E00509C46 /* Build configuration list for PBXProject "MessageLabel" */; 164 | compatibilityVersion = "Xcode 8.0"; 165 | developmentRegion = en; 166 | hasScannedForEncodings = 0; 167 | knownRegions = ( 168 | en, 169 | ); 170 | mainGroup = B006FA031F99F14E00509C46; 171 | productRefGroup = B006FA0E1F99F14E00509C46 /* Products */; 172 | projectDirPath = ""; 173 | projectRoot = ""; 174 | targets = ( 175 | B006FA0C1F99F14E00509C46 /* MessageLabel */, 176 | B006FA151F99F14F00509C46 /* MessageLabelTests */, 177 | ); 178 | }; 179 | /* End PBXProject section */ 180 | 181 | /* Begin PBXResourcesBuildPhase section */ 182 | B006FA0B1F99F14E00509C46 /* Resources */ = { 183 | isa = PBXResourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | ); 187 | runOnlyForDeploymentPostprocessing = 0; 188 | }; 189 | B006FA141F99F14F00509C46 /* Resources */ = { 190 | isa = PBXResourcesBuildPhase; 191 | buildActionMask = 2147483647; 192 | files = ( 193 | ); 194 | runOnlyForDeploymentPostprocessing = 0; 195 | }; 196 | /* End PBXResourcesBuildPhase section */ 197 | 198 | /* Begin PBXSourcesBuildPhase section */ 199 | B006FA081F99F14E00509C46 /* Sources */ = { 200 | isa = PBXSourcesBuildPhase; 201 | buildActionMask = 2147483647; 202 | files = ( 203 | B006FA291F99F6D300509C46 /* MessageLabel.swift in Sources */, 204 | ); 205 | runOnlyForDeploymentPostprocessing = 0; 206 | }; 207 | B006FA121F99F14F00509C46 /* Sources */ = { 208 | isa = PBXSourcesBuildPhase; 209 | buildActionMask = 2147483647; 210 | files = ( 211 | B006FA1C1F99F14F00509C46 /* MessageLabelTests.swift in Sources */, 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | }; 215 | /* End PBXSourcesBuildPhase section */ 216 | 217 | /* Begin PBXTargetDependency section */ 218 | B006FA191F99F14F00509C46 /* PBXTargetDependency */ = { 219 | isa = PBXTargetDependency; 220 | target = B006FA0C1F99F14E00509C46 /* MessageLabel */; 221 | targetProxy = B006FA181F99F14F00509C46 /* PBXContainerItemProxy */; 222 | }; 223 | /* End PBXTargetDependency section */ 224 | 225 | /* Begin XCBuildConfiguration section */ 226 | B006FA1F1F99F14F00509C46 /* Debug */ = { 227 | isa = XCBuildConfiguration; 228 | buildSettings = { 229 | ALWAYS_SEARCH_USER_PATHS = NO; 230 | CLANG_ANALYZER_NONNULL = YES; 231 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 232 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 233 | CLANG_CXX_LIBRARY = "libc++"; 234 | CLANG_ENABLE_MODULES = YES; 235 | CLANG_ENABLE_OBJC_ARC = YES; 236 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 237 | CLANG_WARN_BOOL_CONVERSION = YES; 238 | CLANG_WARN_COMMA = YES; 239 | CLANG_WARN_CONSTANT_CONVERSION = YES; 240 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 241 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 242 | CLANG_WARN_EMPTY_BODY = YES; 243 | CLANG_WARN_ENUM_CONVERSION = YES; 244 | CLANG_WARN_INFINITE_RECURSION = YES; 245 | CLANG_WARN_INT_CONVERSION = YES; 246 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 247 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 248 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 249 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 250 | CLANG_WARN_STRICT_PROTOTYPES = YES; 251 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 252 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 253 | CLANG_WARN_UNREACHABLE_CODE = YES; 254 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 255 | CODE_SIGN_IDENTITY = "iPhone Developer"; 256 | COPY_PHASE_STRIP = NO; 257 | CURRENT_PROJECT_VERSION = 1; 258 | DEBUG_INFORMATION_FORMAT = dwarf; 259 | ENABLE_STRICT_OBJC_MSGSEND = YES; 260 | ENABLE_TESTABILITY = YES; 261 | GCC_C_LANGUAGE_STANDARD = gnu11; 262 | GCC_DYNAMIC_NO_PIC = NO; 263 | GCC_NO_COMMON_BLOCKS = YES; 264 | GCC_OPTIMIZATION_LEVEL = 0; 265 | GCC_PREPROCESSOR_DEFINITIONS = ( 266 | "DEBUG=1", 267 | "$(inherited)", 268 | ); 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 276 | MTL_ENABLE_DEBUG_INFO = YES; 277 | ONLY_ACTIVE_ARCH = YES; 278 | SDKROOT = iphoneos; 279 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 280 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 281 | VERSIONING_SYSTEM = "apple-generic"; 282 | VERSION_INFO_PREFIX = ""; 283 | }; 284 | name = Debug; 285 | }; 286 | B006FA201F99F14F00509C46 /* Release */ = { 287 | isa = XCBuildConfiguration; 288 | buildSettings = { 289 | ALWAYS_SEARCH_USER_PATHS = NO; 290 | CLANG_ANALYZER_NONNULL = YES; 291 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 292 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 293 | CLANG_CXX_LIBRARY = "libc++"; 294 | CLANG_ENABLE_MODULES = YES; 295 | CLANG_ENABLE_OBJC_ARC = YES; 296 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 297 | CLANG_WARN_BOOL_CONVERSION = YES; 298 | CLANG_WARN_COMMA = YES; 299 | CLANG_WARN_CONSTANT_CONVERSION = YES; 300 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 301 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 302 | CLANG_WARN_EMPTY_BODY = YES; 303 | CLANG_WARN_ENUM_CONVERSION = YES; 304 | CLANG_WARN_INFINITE_RECURSION = YES; 305 | CLANG_WARN_INT_CONVERSION = YES; 306 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 307 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 308 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 309 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 310 | CLANG_WARN_STRICT_PROTOTYPES = YES; 311 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 312 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 313 | CLANG_WARN_UNREACHABLE_CODE = YES; 314 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 315 | CODE_SIGN_IDENTITY = "iPhone Developer"; 316 | COPY_PHASE_STRIP = NO; 317 | CURRENT_PROJECT_VERSION = 1; 318 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 319 | ENABLE_NS_ASSERTIONS = NO; 320 | ENABLE_STRICT_OBJC_MSGSEND = YES; 321 | GCC_C_LANGUAGE_STANDARD = gnu11; 322 | GCC_NO_COMMON_BLOCKS = YES; 323 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 324 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 325 | GCC_WARN_UNDECLARED_SELECTOR = YES; 326 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 327 | GCC_WARN_UNUSED_FUNCTION = YES; 328 | GCC_WARN_UNUSED_VARIABLE = YES; 329 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 330 | MTL_ENABLE_DEBUG_INFO = NO; 331 | SDKROOT = iphoneos; 332 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 333 | VALIDATE_PRODUCT = YES; 334 | VERSIONING_SYSTEM = "apple-generic"; 335 | VERSION_INFO_PREFIX = ""; 336 | }; 337 | name = Release; 338 | }; 339 | B006FA221F99F14F00509C46 /* Debug */ = { 340 | isa = XCBuildConfiguration; 341 | buildSettings = { 342 | CLANG_ENABLE_MODULES = YES; 343 | CODE_SIGN_IDENTITY = ""; 344 | CODE_SIGN_STYLE = Automatic; 345 | DEFINES_MODULE = YES; 346 | DYLIB_COMPATIBILITY_VERSION = 1; 347 | DYLIB_CURRENT_VERSION = 1; 348 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 349 | INFOPLIST_FILE = MessageLabel/Info.plist; 350 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 351 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 352 | PRODUCT_BUNDLE_IDENTIFIER = com.MessageKit.MessageLabel; 353 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 354 | SKIP_INSTALL = YES; 355 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 356 | SWIFT_VERSION = 4.0; 357 | TARGETED_DEVICE_FAMILY = "1,2"; 358 | }; 359 | name = Debug; 360 | }; 361 | B006FA231F99F14F00509C46 /* Release */ = { 362 | isa = XCBuildConfiguration; 363 | buildSettings = { 364 | CLANG_ENABLE_MODULES = YES; 365 | CODE_SIGN_IDENTITY = ""; 366 | CODE_SIGN_STYLE = Automatic; 367 | DEFINES_MODULE = YES; 368 | DYLIB_COMPATIBILITY_VERSION = 1; 369 | DYLIB_CURRENT_VERSION = 1; 370 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 371 | INFOPLIST_FILE = MessageLabel/Info.plist; 372 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 373 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 374 | PRODUCT_BUNDLE_IDENTIFIER = com.MessageKit.MessageLabel; 375 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 376 | SKIP_INSTALL = YES; 377 | SWIFT_VERSION = 4.0; 378 | TARGETED_DEVICE_FAMILY = "1,2"; 379 | }; 380 | name = Release; 381 | }; 382 | B006FA251F99F14F00509C46 /* Debug */ = { 383 | isa = XCBuildConfiguration; 384 | buildSettings = { 385 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 386 | CODE_SIGN_STYLE = Automatic; 387 | INFOPLIST_FILE = MessageLabelTests/Info.plist; 388 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 389 | PRODUCT_BUNDLE_IDENTIFIER = com.MessageKit.MessageLabelTests; 390 | PRODUCT_NAME = "$(TARGET_NAME)"; 391 | SWIFT_VERSION = 4.0; 392 | TARGETED_DEVICE_FAMILY = "1,2"; 393 | }; 394 | name = Debug; 395 | }; 396 | B006FA261F99F14F00509C46 /* Release */ = { 397 | isa = XCBuildConfiguration; 398 | buildSettings = { 399 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 400 | CODE_SIGN_STYLE = Automatic; 401 | INFOPLIST_FILE = MessageLabelTests/Info.plist; 402 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 403 | PRODUCT_BUNDLE_IDENTIFIER = com.MessageKit.MessageLabelTests; 404 | PRODUCT_NAME = "$(TARGET_NAME)"; 405 | SWIFT_VERSION = 4.0; 406 | TARGETED_DEVICE_FAMILY = "1,2"; 407 | }; 408 | name = Release; 409 | }; 410 | /* End XCBuildConfiguration section */ 411 | 412 | /* Begin XCConfigurationList section */ 413 | B006FA071F99F14E00509C46 /* Build configuration list for PBXProject "MessageLabel" */ = { 414 | isa = XCConfigurationList; 415 | buildConfigurations = ( 416 | B006FA1F1F99F14F00509C46 /* Debug */, 417 | B006FA201F99F14F00509C46 /* Release */, 418 | ); 419 | defaultConfigurationIsVisible = 0; 420 | defaultConfigurationName = Release; 421 | }; 422 | B006FA211F99F14F00509C46 /* Build configuration list for PBXNativeTarget "MessageLabel" */ = { 423 | isa = XCConfigurationList; 424 | buildConfigurations = ( 425 | B006FA221F99F14F00509C46 /* Debug */, 426 | B006FA231F99F14F00509C46 /* Release */, 427 | ); 428 | defaultConfigurationIsVisible = 0; 429 | defaultConfigurationName = Release; 430 | }; 431 | B006FA241F99F14F00509C46 /* Build configuration list for PBXNativeTarget "MessageLabelTests" */ = { 432 | isa = XCConfigurationList; 433 | buildConfigurations = ( 434 | B006FA251F99F14F00509C46 /* Debug */, 435 | B006FA261F99F14F00509C46 /* Release */, 436 | ); 437 | defaultConfigurationIsVisible = 0; 438 | defaultConfigurationName = Release; 439 | }; 440 | /* End XCConfigurationList section */ 441 | }; 442 | rootObject = B006FA041F99F14E00509C46 /* Project object */; 443 | } 444 | -------------------------------------------------------------------------------- /MessageLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MessageLabel.xcodeproj/project.xcworkspace/xcuserdata/steven.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MessageKit/MessageLabel/147cec6d2959d21d1e719136f881658b2f700a52/MessageLabel.xcodeproj/project.xcworkspace/xcuserdata/steven.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MessageLabel.xcodeproj/xcuserdata/steven.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MessageLabel.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MessageLabel -------------------------------------------------------------------------------- /Sources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Sources/MessageLabel.h: -------------------------------------------------------------------------------- 1 | // 2 | // MessageLabel.h 3 | // MessageLabel 4 | // 5 | // Created by Steven on 10/20/17. 6 | // Copyright © 2017 MessageKit. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for MessageLabel. 12 | FOUNDATION_EXPORT double MessageLabelVersionNumber; 13 | 14 | //! Project version string for MessageLabel. 15 | FOUNDATION_EXPORT const unsigned char MessageLabelVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /Sources/MessageLabel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MessageLabel.swift 3 | // MessageLabel 4 | // 5 | // Created by Steven on 10/20/17. 6 | // Copyright © 2017 MessageKit. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | class MessageLabel {} 12 | -------------------------------------------------------------------------------- /Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Tests/MessageLabelTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MessageLabelTests.swift 3 | // MessageLabelTests 4 | // 5 | // Created by Steven on 10/20/17. 6 | // Copyright © 2017 MessageKit. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import MessageLabel 11 | 12 | class MessageLabelTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | --------------------------------------------------------------------------------