From 08aaf191e47ee5f01e47a727e02b4d17cff2463c Mon Sep 17 00:00:00 2001 From: Bruno Muniz Azevedo Filho Date: Tue, 6 Feb 2018 13:49:58 +0100 Subject: [PATCH] Translate pod on a Swift version --- Example/Example.xcodeproj/project.pbxproj | 410 ++++++++++++ .../contents.xcworkspacedata | 2 +- .../xcshareddata/IDEWorkspaceChecks.plist | 8 + Example/Example/AppDelegate.swift | 43 ++ .../AppIcon.appiconset/Contents.json | 47 +- Example/Example/Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 + Example/Example/Base.lproj/Main.storyboard | 45 ++ .../Info.plist} | 16 +- .../TermsOfUse.txt | 12 +- Example/Example/ViewController.swift | 33 + Example/Podfile | 6 +- Example/Podfile.lock | 10 +- .../NSMutableAttributedString+R87Formatter.h | 1 - .../R87AttributedString.podspec.json | 23 - Example/Pods/Manifest.lock | 14 - Example/Pods/Pods.xcodeproj/project.pbxproj | 521 --------------- .../Pods/Target Support Files/Pods/Info.plist | 26 - .../Pods/Pods-acknowledgements.markdown | 26 - .../Pods/Pods-acknowledgements.plist | 56 -- .../Target Support Files/Pods/Pods-dummy.m | 5 - .../Pods/Pods-frameworks.sh | 91 --- .../Pods/Pods-resources.sh | 95 --- .../Target Support Files/Pods/Pods-umbrella.h | 6 - .../Pods/Pods.debug.xcconfig | 6 - .../Target Support Files/Pods/Pods.modulemap | 6 - .../Pods/Pods.release.xcconfig | 6 - .../R87AttributedString/Info.plist | 26 - .../R87AttributedString-dummy.m | 5 - .../R87AttributedString-prefix.pch | 4 - .../R87AttributedString-umbrella.h | 7 - .../R87AttributedString.modulemap | 6 - .../R87AttributedString.xcconfig | 5 - .../project.pbxproj | 631 ------------------ .../R87AttributedString-Example.xcscheme | 101 --- ...ributedString-R87AttributedString.xcscheme | 71 -- .../contents.xcworkspacedata | 10 - .../LaunchImage.launchimage/Contents.json | 51 -- Example/R87AttributedString/Main.storyboard | 44 -- Example/R87AttributedString/R87AppDelegate.h | 15 - Example/R87AttributedString/R87AppDelegate.m | 46 -- .../R87AttributedString-Prefix.pch | 16 - .../R87AttributedString/R87ViewController.h | 13 - .../R87AttributedString/R87ViewController.m | 42 -- .../en.lproj/InfoPlist.strings | 2 - Example/R87AttributedString/main.m | 17 - Example/Tests/Tests-Info.plist | 22 - Example/Tests/Tests-Prefix.pch | 7 - Example/Tests/Tests.m | 35 - Example/Tests/en.lproj/InfoPlist.strings | 2 - .../NSMutableAttributedString+R87Formatter.h | 58 -- .../NSMutableAttributedString+R87Formatter.m | 96 --- Pod/Classes/R87AttributedString.swift | 100 +++ R87AttributedString.podspec | 5 +- README.md | 30 +- 55 files changed, 753 insertions(+), 2259 deletions(-) create mode 100644 Example/Example.xcodeproj/project.pbxproj rename Example/{R87AttributedString.xcodeproj => Example.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (66%) create mode 100644 Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Example/Example/AppDelegate.swift rename Example/{R87AttributedString/Images.xcassets => Example/Assets.xcassets}/AppIcon.appiconset/Contents.json (51%) create mode 100644 Example/Example/Assets.xcassets/Contents.json create mode 100644 Example/Example/Base.lproj/LaunchScreen.storyboard create mode 100644 Example/Example/Base.lproj/Main.storyboard rename Example/{R87AttributedString/R87AttributedString-Info.plist => Example/Info.plist} (81%) rename Example/{R87AttributedString => Example}/TermsOfUse.txt (95%) create mode 100644 Example/Example/ViewController.swift delete mode 120000 Example/Pods/Headers/Private/R87AttributedString/NSMutableAttributedString+R87Formatter.h delete mode 100644 Example/Pods/Local Podspecs/R87AttributedString.podspec.json delete mode 100644 Example/Pods/Manifest.lock delete mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj delete mode 100644 Example/Pods/Target Support Files/Pods/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods/Pods-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods/Pods-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods/Pods-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods/Pods-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods/Pods-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods/Pods.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods/Pods.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods/Pods.release.xcconfig delete mode 100644 Example/Pods/Target Support Files/R87AttributedString/Info.plist delete mode 100644 Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-dummy.m delete mode 100644 Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-prefix.pch delete mode 100644 Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-umbrella.h delete mode 100644 Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.modulemap delete mode 100644 Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.xcconfig delete mode 100644 Example/R87AttributedString.xcodeproj/project.pbxproj delete mode 100644 Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-Example.xcscheme delete mode 100644 Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-R87AttributedString.xcscheme delete mode 100644 Example/R87AttributedString.xcworkspace/contents.xcworkspacedata delete mode 100644 Example/R87AttributedString/Images.xcassets/LaunchImage.launchimage/Contents.json delete mode 100644 Example/R87AttributedString/Main.storyboard delete mode 100644 Example/R87AttributedString/R87AppDelegate.h delete mode 100644 Example/R87AttributedString/R87AppDelegate.m delete mode 100644 Example/R87AttributedString/R87AttributedString-Prefix.pch delete mode 100644 Example/R87AttributedString/R87ViewController.h delete mode 100644 Example/R87AttributedString/R87ViewController.m delete mode 100644 Example/R87AttributedString/en.lproj/InfoPlist.strings delete mode 100644 Example/R87AttributedString/main.m delete mode 100644 Example/Tests/Tests-Info.plist delete mode 100644 Example/Tests/Tests-Prefix.pch delete mode 100644 Example/Tests/Tests.m delete mode 100644 Example/Tests/en.lproj/InfoPlist.strings delete mode 100644 Pod/Classes/NSMutableAttributedString+R87Formatter.h delete mode 100644 Pod/Classes/NSMutableAttributedString+R87Formatter.m create mode 100644 Pod/Classes/R87AttributedString.swift diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..be4fcae --- /dev/null +++ b/Example/Example.xcodeproj/project.pbxproj @@ -0,0 +1,410 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 271FBC862121B059006E35F4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 271FBC852121B059006E35F4 /* AppDelegate.swift */; }; + 271FBC882121B059006E35F4 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 271FBC872121B059006E35F4 /* ViewController.swift */; }; + 271FBC8B2121B059006E35F4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 271FBC892121B059006E35F4 /* Main.storyboard */; }; + 271FBC8D2121B05A006E35F4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 271FBC8C2121B05A006E35F4 /* Assets.xcassets */; }; + 271FBC902121B05A006E35F4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 271FBC8E2121B05A006E35F4 /* LaunchScreen.storyboard */; }; + 27BA3FAC2121B18D00A0CACB /* TermsOfUse.txt in Resources */ = {isa = PBXBuildFile; fileRef = 27BA3FAB2121B18D00A0CACB /* TermsOfUse.txt */; }; + 3E941B1810381852FA36EDDC /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4832D41DBB0D4CCAFFA966DB /* Pods_Example.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 23032780F8C7B3EB045C232E /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; + 271FBC822121B059006E35F4 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 271FBC852121B059006E35F4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 271FBC872121B059006E35F4 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 271FBC8A2121B059006E35F4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 271FBC8C2121B05A006E35F4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 271FBC8F2121B05A006E35F4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 271FBC912121B05A006E35F4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 27BA3FAB2121B18D00A0CACB /* TermsOfUse.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TermsOfUse.txt; sourceTree = ""; }; + 4832D41DBB0D4CCAFFA966DB /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + AD8B3EFDAE5FBB303B56AC1A /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 271FBC7F2121B059006E35F4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3E941B1810381852FA36EDDC /* Pods_Example.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1CBE95B960EAECEDB88A9059 /* Pods */ = { + isa = PBXGroup; + children = ( + 23032780F8C7B3EB045C232E /* Pods-Example.debug.xcconfig */, + AD8B3EFDAE5FBB303B56AC1A /* Pods-Example.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 271FBC792121B059006E35F4 = { + isa = PBXGroup; + children = ( + 271FBC842121B059006E35F4 /* Example */, + 271FBC832121B059006E35F4 /* Products */, + 1CBE95B960EAECEDB88A9059 /* Pods */, + 27F279EF96DEDB5BE16E6B8A /* Frameworks */, + ); + sourceTree = ""; + }; + 271FBC832121B059006E35F4 /* Products */ = { + isa = PBXGroup; + children = ( + 271FBC822121B059006E35F4 /* Example.app */, + ); + name = Products; + sourceTree = ""; + }; + 271FBC842121B059006E35F4 /* Example */ = { + isa = PBXGroup; + children = ( + 271FBC852121B059006E35F4 /* AppDelegate.swift */, + 271FBC872121B059006E35F4 /* ViewController.swift */, + 271FBC892121B059006E35F4 /* Main.storyboard */, + 271FBC8C2121B05A006E35F4 /* Assets.xcassets */, + 271FBC8E2121B05A006E35F4 /* LaunchScreen.storyboard */, + 27BA3FAB2121B18D00A0CACB /* TermsOfUse.txt */, + 271FBC912121B05A006E35F4 /* Info.plist */, + ); + path = Example; + sourceTree = ""; + }; + 27F279EF96DEDB5BE16E6B8A /* Frameworks */ = { + isa = PBXGroup; + children = ( + 4832D41DBB0D4CCAFFA966DB /* Pods_Example.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 271FBC812121B059006E35F4 /* Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271FBC942121B05A006E35F4 /* Build configuration list for PBXNativeTarget "Example" */; + buildPhases = ( + 0FB1D8CDEEA6C02DF1CA92B9 /* [CP] Check Pods Manifest.lock */, + 271FBC7E2121B059006E35F4 /* Sources */, + 271FBC7F2121B059006E35F4 /* Frameworks */, + 271FBC802121B059006E35F4 /* Resources */, + BC9BB1ED9C8EE1BBA17FCD54 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Example; + productName = Example; + productReference = 271FBC822121B059006E35F4 /* Example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 271FBC7A2121B059006E35F4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0940; + LastUpgradeCheck = 0940; + ORGANIZATIONNAME = "Bruno Muniz"; + TargetAttributes = { + 271FBC812121B059006E35F4 = { + CreatedOnToolsVersion = 9.4.1; + }; + }; + }; + buildConfigurationList = 271FBC7D2121B059006E35F4 /* Build configuration list for PBXProject "Example" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 271FBC792121B059006E35F4; + productRefGroup = 271FBC832121B059006E35F4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 271FBC812121B059006E35F4 /* Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 271FBC802121B059006E35F4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271FBC902121B05A006E35F4 /* LaunchScreen.storyboard in Resources */, + 27BA3FAC2121B18D00A0CACB /* TermsOfUse.txt in Resources */, + 271FBC8D2121B05A006E35F4 /* Assets.xcassets in Resources */, + 271FBC8B2121B059006E35F4 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 0FB1D8CDEEA6C02DF1CA92B9 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + BC9BB1ED9C8EE1BBA17FCD54 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/R87AttributedString/R87AttributedString.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/R87AttributedString.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 271FBC7E2121B059006E35F4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271FBC882121B059006E35F4 /* ViewController.swift in Sources */, + 271FBC862121B059006E35F4 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 271FBC892121B059006E35F4 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 271FBC8A2121B059006E35F4 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 271FBC8E2121B05A006E35F4 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 271FBC8F2121B05A006E35F4 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 271FBC922121B05A006E35F4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.4; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 271FBC932121B05A006E35F4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.4; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 271FBC952121B05A006E35F4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 23032780F8C7B3EB045C232E /* Pods-Example.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 58Z5KRND73; + INFOPLIST_FILE = Example/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = bmaf.Example; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 271FBC962121B05A006E35F4 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = AD8B3EFDAE5FBB303B56AC1A /* Pods-Example.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 58Z5KRND73; + INFOPLIST_FILE = Example/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = bmaf.Example; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 271FBC7D2121B059006E35F4 /* Build configuration list for PBXProject "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271FBC922121B05A006E35F4 /* Debug */, + 271FBC932121B05A006E35F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271FBC942121B05A006E35F4 /* Build configuration list for PBXNativeTarget "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271FBC952121B05A006E35F4 /* Debug */, + 271FBC962121B05A006E35F4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 271FBC7A2121B059006E35F4 /* Project object */; +} diff --git a/Example/R87AttributedString.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 66% rename from Example/R87AttributedString.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 0e6e581..6d2a51b 100644 --- a/Example/R87AttributedString.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:Example.xcodeproj"> diff --git a/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/Example/AppDelegate.swift b/Example/Example/AppDelegate.swift new file mode 100644 index 0000000..cb3fc7a --- /dev/null +++ b/Example/Example/AppDelegate.swift @@ -0,0 +1,43 @@ +// +// AppDelegate.swift +// Example +// +// Created by Bruno Muniz on 8/13/18. +// Copyright © 2018 Bruno Muniz. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } +} + diff --git a/Example/R87AttributedString/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 51% rename from Example/R87AttributedString/Images.xcassets/AppIcon.appiconset/Contents.json rename to Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json index f697f61..d8db8d6 100644 --- a/Example/R87AttributedString/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,18 +1,53 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, { "idiom" : "iphone", "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", "scale" : "2x" }, { @@ -44,10 +79,20 @@ "idiom" : "ipad", "size" : "76x76", "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" } ], "info" : { "version" : 1, "author" : "xcode" } -} +} \ No newline at end of file diff --git a/Example/Example/Assets.xcassets/Contents.json b/Example/Example/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Example/Example/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Example/Example/Base.lproj/LaunchScreen.storyboard b/Example/Example/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..f83f6fd --- /dev/null +++ b/Example/Example/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Example/Base.lproj/Main.storyboard b/Example/Example/Base.lproj/Main.storyboard new file mode 100644 index 0000000..0319a99 --- /dev/null +++ b/Example/Example/Base.lproj/Main.storyboard @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/R87AttributedString/R87AttributedString-Info.plist b/Example/Example/Info.plist similarity index 81% rename from Example/R87AttributedString/R87AttributedString-Info.plist rename to Example/Example/Info.plist index 72cfd5a..16be3b6 100644 --- a/Example/R87AttributedString/R87AttributedString-Info.plist +++ b/Example/Example/Info.plist @@ -3,29 +3,25 @@ CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${PRODUCT_NAME} + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable - ${EXECUTABLE_NAME} + $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName - ${PRODUCT_NAME} + $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 - CFBundleSignature - ???? CFBundleVersion - 1.0 + 1 LSRequiresIPhoneOS UILaunchStoryboardName - Main + LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities @@ -35,6 +31,8 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad diff --git a/Example/R87AttributedString/TermsOfUse.txt b/Example/Example/TermsOfUse.txt similarity index 95% rename from Example/R87AttributedString/TermsOfUse.txt rename to Example/Example/TermsOfUse.txt index ea0c494..53689a0 100755 --- a/Example/R87AttributedString/TermsOfUse.txt +++ b/Example/Example/TermsOfUse.txt @@ -1,19 +1,19 @@ *CocoaPods Events* -#Code of Conduct# +$#Code of Conduct#$ All attendees, speakers, sponsors and volunteers at our meetup are required to agree with the following code of conduct. Team members will enforce this code throughout the event. We are expecting cooperation from all participants to help ensuring a safe environment for everybody. -#tl;dr: Don’t be a Jerk# -Our meetups are dedicated to providing a harassment-free experience for everyone, regardless of gender, age, sexual orientation, disability, physical appearance, body size, race, or religion. We do not tolerate harassment of participants in any form. Sexual language and imagery is not appropriate for any parts of our events, including talks, workshops, Twitter and other online media. Attendees violating these rules may be sanctioned or expelled from this meetup and/or any future meetups at the discretion of the meetup organisers. You can report violators to info@cocoapods.org if you prefer to not do so in-person. +$#tl;dr: Don’t be a Jerk#$ +Our meetups are dedicated to providing a harassment-free experience for everyone, regardless of gender, age, sexual orientation, disability, physical appearance, body size, race, or religion. We do not tolerate *harassment* of participants in any form. Sexual language and imagery is not appropriate for any parts of our events, including talks, workshops, Twitter and -other online media-. Attendees violating these rules may be sanctioned or expelled from this meetup and/or any future meetups at the discretion of the meetup organisers. You can report violators to #info@cocoapods.org# if you prefer to not do so in-person. -*Privacy Policy* +$*Privacy Policy*$ CocoaPods ("CocoaPods" or the "Company") is committed to protecting the privacy of your information. This privacy statement describes CocoaPods's privacy practises. Covered This privacy policy covers the information practises of any CocoaPods product or service. Information Collected -CocoaPods offers a variety of services that are collectively referred to as the "Services". CocoaPods collects information from individuals who visit the Company's Web site ("Visitors") and individuals who register to use the Services ("Customers"). +CocoaPods offers a variety of services that are collectively referred to as the "Services". CocoaPods collects information from individuals who visit the Company's Web site ("Visitors") and individuals who register to use *the Services* ("Customers"). We collect the e-mail addresses of those who communicate with us via e-mail, aggregate information on what pages consumers access or visit, and information volunteered by the consumer (such as survey information and/or site registrations). The information we collect is used to improve the content of our Web pages and the quality of our service, and is not shared with or sold to other organizations for commercial purposes, except to provide products or services you've requested, when we have your permission, or under the following circumstances: @@ -74,4 +74,4 @@ The look and feel of the Service is copyright ©2015 CocoaPods. All rights reser #Cancellation and Termination# All Content that you uploaded or otherwise added to the Service will be immediately deleted from the Service upon cancellation of your account. This information can not be recovered once your account is cancelled. We encourage all users to backup their data at all times. -We reserve the right to suspend or terminate your account and/or any and all current or future access to or use of any and all of the Service, for any reason, without liability, at any time at our sole discretion. Such termination may result in the deactivation or deletion of your account and your access to your account, and/or the deletion, forfeiture and/or relinquishment of all Content previously made available on or through the Service under your account. We reserve the right to refuse service to anyone for any reason at any time. \ No newline at end of file +We reserve the right to suspend or terminate your account and/or any and all current or future access to or use of any and all of the Service, for any reason, without liability, at any time at our sole discretion. Such termination may result in the deactivation or deletion of your account and your access to your account, and/or the deletion, forfeiture and/or relinquishment of all Content previously made available on or through the Service under your account. We reserve the right to refuse service to anyone for any reason at any time. diff --git a/Example/Example/ViewController.swift b/Example/Example/ViewController.swift new file mode 100644 index 0000000..8f76fcb --- /dev/null +++ b/Example/Example/ViewController.swift @@ -0,0 +1,33 @@ +// +// ViewController.swift +// Example +// +// Created by Bruno Muniz on 8/13/18. +// Copyright © 2018 Bruno Muniz. All rights reserved. +// + +import UIKit +import R87AttributedString + +final class ViewController: UIViewController { + + // MARK: - IBOutlets + @IBOutlet private weak var textView: UITextView! + + // MARK: - Lifecycle + override func viewDidLoad() { + super.viewDidLoad() + + let path = Bundle.main.path(forResource: "TermsOfUse", ofType: "txt") + let plainText = try? String(contentsOfFile: path!, encoding: String.Encoding.utf8) + let attributedString = NSMutableAttributedString(string: plainText!) + + attributedString.r87_addAttribute(name: .foregroundColor, value: UIColor.red, betweenCharacters: "*") + attributedString.r87_setAttributes(attributes: [.foregroundColor: UIColor.green], betweenCharacters: "#") + attributedString.r87_addAttributes(attributes: [.font: UIFont.systemFont(ofSize: 25)], betweenCharacters: "$") + attributedString.r87_removeAttribute(name: NSAttributedStringKey.font, betweenCharacters: "-") + + textView.attributedText = attributedString + } +} + diff --git a/Example/Podfile b/Example/Podfile index 8255dd8..f5d2886 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,4 +1,6 @@ -source 'https://github.com/CocoaPods/Specs.git' use_frameworks! -pod 'R87AttributedString', :path => '../' +target 'Example' do + platform :ios, '7.0' + pod 'R87AttributedString', :path => '../' +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index a652b5e..fd231fc 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,14 +1,16 @@ PODS: - - R87AttributedString (0.1.0) + - R87AttributedString (0.2.0) DEPENDENCIES: - R87AttributedString (from `../`) EXTERNAL SOURCES: R87AttributedString: - :path: ../ + :path: "../" SPEC CHECKSUMS: - R87AttributedString: 3467ab9002bbdba0ee48dc4bbf069a786de5996d + R87AttributedString: 628f646f9a9873f8cf35b291709bc3fe354eb8ab -COCOAPODS: 0.39.0 +PODFILE CHECKSUM: 144793c206761a182cbd7984013ba0a149ee307f + +COCOAPODS: 1.5.3 diff --git a/Example/Pods/Headers/Private/R87AttributedString/NSMutableAttributedString+R87Formatter.h b/Example/Pods/Headers/Private/R87AttributedString/NSMutableAttributedString+R87Formatter.h deleted file mode 120000 index aa00156..0000000 --- a/Example/Pods/Headers/Private/R87AttributedString/NSMutableAttributedString+R87Formatter.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/NSMutableAttributedString+R87Formatter.h \ No newline at end of file diff --git a/Example/Pods/Local Podspecs/R87AttributedString.podspec.json b/Example/Pods/Local Podspecs/R87AttributedString.podspec.json deleted file mode 100644 index 7519c68..0000000 --- a/Example/Pods/Local Podspecs/R87AttributedString.podspec.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "R87AttributedString", - "version": "0.1.0", - "summary": "A short description of R87AttributedString.", - "description": "", - "homepage": "https://github.com//R87AttributedString", - "license": "MIT", - "authors": { - "Gergo Nemeth": "reden87@gmail.com" - }, - "source": { - "git": "https://github.com/reden87/R87AttributedString.git", - "tag": "0.1.0" - }, - "social_media_url": "https://twitter.com/reden87", - "platforms": { - "ios": "7.0" - }, - "requires_arc": true, - "source_files": "Pod/Classes/**/*", - "public_header_files": "Pod/Classes/**/*.h", - "frameworks": "Foundation" -} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index a652b5e..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,14 +0,0 @@ -PODS: - - R87AttributedString (0.1.0) - -DEPENDENCIES: - - R87AttributedString (from `../`) - -EXTERNAL SOURCES: - R87AttributedString: - :path: ../ - -SPEC CHECKSUMS: - R87AttributedString: 3467ab9002bbdba0ee48dc4bbf069a786de5996d - -COCOAPODS: 0.39.0 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 3d2b32b..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,521 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 16188DE180AD334BE8894CE347EBACB8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; - 1F3725C9240449FCA5CA62ACE398947B /* R87AttributedString-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F76BA8F163FA07B40D33B7EEB6DE1B2D /* R87AttributedString-dummy.m */; }; - 24D7D224D42C5B10ECA68AE9982C6B2B /* R87AttributedString-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CFCFE9C9C95CAA8DA0885A7A957802D5 /* R87AttributedString-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3C356F4D1847162A15CEFFE6A7E58BEE /* NSMutableAttributedString+R87Formatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 096199BA02D0F8AACFCED619F4285007 /* NSMutableAttributedString+R87Formatter.m */; }; - 8CA318A317DC1E7FF445E01825376EB9 /* NSMutableAttributedString+R87Formatter.h in Headers */ = {isa = PBXBuildFile; fileRef = DD0655A832D92844F09221B33F840A89 /* NSMutableAttributedString+R87Formatter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AFEA5E1E72D987C55DC3452D5CD910AE /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 894E5DA93A9F359521A89826BE6DA777 /* Pods-dummy.m */; }; - CA4C0D65FFA5328254ABC05FAEDC24FF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; - EA3E5C93369A69E1511BCAB887B5BEEE /* Pods-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2BCC458FDD5F692BBB2BFC64BB5701FC /* Pods-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 837D987ABC81C1CC7F3F91048E6CAF2D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3C824239776579AF00D708CD0D1B506F; - remoteInfo = R87AttributedString; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 039815AB7DA2FC19FBBB476A6345F8C0 /* R87AttributedString.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = R87AttributedString.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 096199BA02D0F8AACFCED619F4285007 /* NSMutableAttributedString+R87Formatter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NSMutableAttributedString+R87Formatter.m"; sourceTree = ""; }; - 0D873C4EECEA276F11D0FEAEE5D48003 /* R87AttributedString-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "R87AttributedString-prefix.pch"; sourceTree = ""; }; - 2BCC458FDD5F692BBB2BFC64BB5701FC /* Pods-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-umbrella.h"; sourceTree = ""; }; - 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 4646A047FB2491A3A0FAA4799C4F3FF2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 53C97B066C0295198A4DB6AC443B6096 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 6EC5841D1529484418A36250AA300725 /* R87AttributedString.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = R87AttributedString.xcconfig; sourceTree = ""; }; - 79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Pods.modulemap; sourceTree = ""; }; - 7AF437D1534F6456CFD3887734923245 /* R87AttributedString.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = R87AttributedString.modulemap; sourceTree = ""; }; - 87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = ""; }; - 894E5DA93A9F359521A89826BE6DA777 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = ""; }; - 977577C045EDA9D9D1F46E2598D19FC7 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = ""; }; - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = ""; }; - CFCFE9C9C95CAA8DA0885A7A957802D5 /* R87AttributedString-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "R87AttributedString-umbrella.h"; sourceTree = ""; }; - D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = ""; }; - DA312349A49333542E6F4B36B329960E /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = ""; }; - DD0655A832D92844F09221B33F840A89 /* NSMutableAttributedString+R87Formatter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NSMutableAttributedString+R87Formatter.h"; sourceTree = ""; }; - E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-frameworks.sh"; sourceTree = ""; }; - E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F76BA8F163FA07B40D33B7EEB6DE1B2D /* R87AttributedString-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "R87AttributedString-dummy.m"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 53A91043600CAC9CD29ED857E92D5F0F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 16188DE180AD334BE8894CE347EBACB8 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A252BED9A3903C2C7F63A5EF22C05E19 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - CA4C0D65FFA5328254ABC05FAEDC24FF /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 49912823C6B065919965764DB27DBADE /* Support Files */ = { - isa = PBXGroup; - children = ( - 4646A047FB2491A3A0FAA4799C4F3FF2 /* Info.plist */, - 7AF437D1534F6456CFD3887734923245 /* R87AttributedString.modulemap */, - 6EC5841D1529484418A36250AA300725 /* R87AttributedString.xcconfig */, - F76BA8F163FA07B40D33B7EEB6DE1B2D /* R87AttributedString-dummy.m */, - 0D873C4EECEA276F11D0FEAEE5D48003 /* R87AttributedString-prefix.pch */, - CFCFE9C9C95CAA8DA0885A7A957802D5 /* R87AttributedString-umbrella.h */, - ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/R87AttributedString"; - sourceTree = ""; - }; - 4B9B61E890592E23ADFBBA7DC1631722 /* R87AttributedString */ = { - isa = PBXGroup; - children = ( - 9125C2DE7F23022A8D26FFDA95A1E1C3 /* Pod */, - 49912823C6B065919965764DB27DBADE /* Support Files */, - ); - name = R87AttributedString; - path = ../..; - sourceTree = ""; - }; - 6A1B7E20F6E624E09E1A2BE616F34F1F /* Development Pods */ = { - isa = PBXGroup; - children = ( - 4B9B61E890592E23ADFBBA7DC1631722 /* R87AttributedString */, - ); - name = "Development Pods"; - sourceTree = ""; - }; - 75D98FF52E597A11900E131B6C4E1ADA /* Pods */ = { - isa = PBXGroup; - children = ( - E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */, - 79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */, - D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */, - 87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */, - 894E5DA93A9F359521A89826BE6DA777 /* Pods-dummy.m */, - E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */, - CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */, - 2BCC458FDD5F692BBB2BFC64BB5701FC /* Pods-umbrella.h */, - 977577C045EDA9D9D1F46E2598D19FC7 /* Pods.debug.xcconfig */, - DA312349A49333542E6F4B36B329960E /* Pods.release.xcconfig */, - ); - name = Pods; - path = "Target Support Files/Pods"; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, - 6A1B7E20F6E624E09E1A2BE616F34F1F /* Development Pods */, - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - 911A71C03B06519A2670669F778F6F93 /* Products */, - B7B80995527643776607AFFA75B91E24 /* Targets Support Files */, - ); - sourceTree = ""; - }; - 81CE409266B1397272B3B0ECC2199F9A /* Classes */ = { - isa = PBXGroup; - children = ( - DD0655A832D92844F09221B33F840A89 /* NSMutableAttributedString+R87Formatter.h */, - 096199BA02D0F8AACFCED619F4285007 /* NSMutableAttributedString+R87Formatter.m */, - ); - path = Classes; - sourceTree = ""; - }; - 911A71C03B06519A2670669F778F6F93 /* Products */ = { - isa = PBXGroup; - children = ( - 53C97B066C0295198A4DB6AC443B6096 /* Pods.framework */, - 039815AB7DA2FC19FBBB476A6345F8C0 /* R87AttributedString.framework */, - ); - name = Products; - sourceTree = ""; - }; - 9125C2DE7F23022A8D26FFDA95A1E1C3 /* Pod */ = { - isa = PBXGroup; - children = ( - 81CE409266B1397272B3B0ECC2199F9A /* Classes */, - ); - path = Pod; - sourceTree = ""; - }; - B7B80995527643776607AFFA75B91E24 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 75D98FF52E597A11900E131B6C4E1ADA /* Pods */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { - isa = PBXGroup; - children = ( - BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */ = { - isa = PBXGroup; - children = ( - 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - AE9052785578636904270AE95CA581DC /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - EA3E5C93369A69E1511BCAB887B5BEEE /* Pods-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DCD69271C5BE2272DA486EFE66328DB0 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 8CA318A317DC1E7FF445E01825376EB9 /* NSMutableAttributedString+R87Formatter.h in Headers */, - 24D7D224D42C5B10ECA68AE9982C6B2B /* R87AttributedString-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 3C824239776579AF00D708CD0D1B506F /* R87AttributedString */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2A22394970523882AF414359BB41D148 /* Build configuration list for PBXNativeTarget "R87AttributedString" */; - buildPhases = ( - E15CF9EC890445908BAC451375CA1580 /* Sources */, - 53A91043600CAC9CD29ED857E92D5F0F /* Frameworks */, - DCD69271C5BE2272DA486EFE66328DB0 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = R87AttributedString; - productName = R87AttributedString; - productReference = 039815AB7DA2FC19FBBB476A6345F8C0 /* R87AttributedString.framework */; - productType = "com.apple.product-type.framework"; - }; - C706C38CD8C54D9AF337188FCE44EB4C /* Pods */ = { - isa = PBXNativeTarget; - buildConfigurationList = 38CD279488FC290C3AF8B73DB33699C7 /* Build configuration list for PBXNativeTarget "Pods" */; - buildPhases = ( - 4118C464734B4618F9DE2B71000E2AC8 /* Sources */, - A252BED9A3903C2C7F63A5EF22C05E19 /* Frameworks */, - AE9052785578636904270AE95CA581DC /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 52F6297A19DE26298C728483ACAE25EB /* PBXTargetDependency */, - ); - name = Pods; - productName = Pods; - productReference = 53C97B066C0295198A4DB6AC443B6096 /* Pods.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0700; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 911A71C03B06519A2670669F778F6F93 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C706C38CD8C54D9AF337188FCE44EB4C /* Pods */, - 3C824239776579AF00D708CD0D1B506F /* R87AttributedString */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 4118C464734B4618F9DE2B71000E2AC8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - AFEA5E1E72D987C55DC3452D5CD910AE /* Pods-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E15CF9EC890445908BAC451375CA1580 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3C356F4D1847162A15CEFFE6A7E58BEE /* NSMutableAttributedString+R87Formatter.m in Sources */, - 1F3725C9240449FCA5CA62ACE398947B /* R87AttributedString-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 52F6297A19DE26298C728483ACAE25EB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = R87AttributedString; - target = 3C824239776579AF00D708CD0D1B506F /* R87AttributedString */; - targetProxy = 837D987ABC81C1CC7F3F91048E6CAF2D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 4CDBB4E63A827C832324763A6F741505 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6EC5841D1529484418A36250AA300725 /* R87AttributedString.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/R87AttributedString/R87AttributedString-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/R87AttributedString/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/R87AttributedString/R87AttributedString.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = R87AttributedString; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4CE8E6BC7DE1BF377A79258DAFC4902A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 977577C045EDA9D9D1F46E2598D19FC7 /* Pods.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods/Pods.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - ONLY_ACTIVE_ARCH = YES; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - B0A16EA12DC5CF14720FE5186B5DC2FF /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DA312349A49333542E6F4B36B329960E /* Pods.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods/Pods.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - DF9912746143173203FC7C308A58326D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6EC5841D1529484418A36250AA300725 /* R87AttributedString.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/R87AttributedString/R87AttributedString-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/R87AttributedString/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/R87AttributedString/R87AttributedString.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = R87AttributedString; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - FB45FFD90572718D82AB9092B750F0CA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 2A22394970523882AF414359BB41D148 /* Build configuration list for PBXNativeTarget "R87AttributedString" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4CDBB4E63A827C832324763A6F741505 /* Debug */, - DF9912746143173203FC7C308A58326D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */, - FB45FFD90572718D82AB9092B750F0CA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 38CD279488FC290C3AF8B73DB33699C7 /* Build configuration list for PBXNativeTarget "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4CE8E6BC7DE1BF377A79258DAFC4902A /* Debug */, - B0A16EA12DC5CF14720FE5186B5DC2FF /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Example/Pods/Target Support Files/Pods/Info.plist b/Example/Pods/Target Support Files/Pods/Info.plist deleted file mode 100644 index 6974542..0000000 --- a/Example/Pods/Target Support Files/Pods/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown deleted file mode 100644 index c436d8a..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown +++ /dev/null @@ -1,26 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## R87AttributedString - -Copyright (c) 2016 Gergo Nemeth - -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: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -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. - -Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.plist deleted file mode 100644 index aeace57..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.plist +++ /dev/null @@ -1,56 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2016 Gergo Nemeth <mail@reden87.info> - -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: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -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. - - Title - R87AttributedString - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - http://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods/Pods-dummy.m b/Example/Pods/Target Support Files/Pods/Pods-dummy.m deleted file mode 100644 index ade64bd..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods : NSObject -@end -@implementation PodsDummy_Pods -@end diff --git a/Example/Pods/Target Support Files/Pods/Pods-frameworks.sh b/Example/Pods/Target Support Files/Pods/Pods-frameworks.sh deleted file mode 100755 index e91b679..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods-frameworks.sh +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods/R87AttributedString.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods/R87AttributedString.framework" -fi diff --git a/Example/Pods/Target Support Files/Pods/Pods-resources.sh b/Example/Pods/Target Support Files/Pods/Pods-resources.sh deleted file mode 100755 index 16774fb..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods-resources.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; - *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods/Pods-umbrella.h b/Example/Pods/Target Support Files/Pods/Pods-umbrella.h deleted file mode 100644 index 21dcfd2..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods-umbrella.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - - -FOUNDATION_EXPORT double PodsVersionNumber; -FOUNDATION_EXPORT const unsigned char PodsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/Example/Pods/Target Support Files/Pods/Pods.debug.xcconfig deleted file mode 100644 index dd798c3..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods.debug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/R87AttributedString.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "R87AttributedString" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods/Pods.modulemap b/Example/Pods/Target Support Files/Pods/Pods.modulemap deleted file mode 100644 index 8413413..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods { - umbrella header "Pods-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods/Pods.release.xcconfig b/Example/Pods/Target Support Files/Pods/Pods.release.xcconfig deleted file mode 100644 index dd798c3..0000000 --- a/Example/Pods/Target Support Files/Pods/Pods.release.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/R87AttributedString.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "R87AttributedString" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/R87AttributedString/Info.plist b/Example/Pods/Target Support Files/R87AttributedString/Info.plist deleted file mode 100644 index 4ba5fa2..0000000 --- a/Example/Pods/Target Support Files/R87AttributedString/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.1.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-dummy.m b/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-dummy.m deleted file mode 100644 index bcdbcf3..0000000 --- a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_R87AttributedString : NSObject -@end -@implementation PodsDummy_R87AttributedString -@end diff --git a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-prefix.pch b/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-prefix.pch deleted file mode 100644 index aa992a4..0000000 --- a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-umbrella.h b/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-umbrella.h deleted file mode 100644 index 1e7373f..0000000 --- a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString-umbrella.h +++ /dev/null @@ -1,7 +0,0 @@ -#import - -#import "NSMutableAttributedString+R87Formatter.h" - -FOUNDATION_EXPORT double R87AttributedStringVersionNumber; -FOUNDATION_EXPORT const unsigned char R87AttributedStringVersionString[]; - diff --git a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.modulemap b/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.modulemap deleted file mode 100644 index 05e67ef..0000000 --- a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module R87AttributedString { - umbrella header "R87AttributedString-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.xcconfig b/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.xcconfig deleted file mode 100644 index 04cabf1..0000000 --- a/Example/Pods/Target Support Files/R87AttributedString/R87AttributedString.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/R87AttributedString" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "Foundation" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/R87AttributedString.xcodeproj/project.pbxproj b/Example/R87AttributedString.xcodeproj/project.pbxproj deleted file mode 100644 index 7f85002..0000000 --- a/Example/R87AttributedString.xcodeproj/project.pbxproj +++ /dev/null @@ -1,631 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 1B790EDBC512AEFE939FF25C /* Pods_R87AttributedString_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D70B78CA45B949C3BC7A440 /* Pods_R87AttributedString_Example.framework */; }; - 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; - 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; - 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; - 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; - 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; - 6003F59E195388D20070C39A /* R87AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* R87AppDelegate.m */; }; - 6003F5A7195388D20070C39A /* R87ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* R87ViewController.m */; }; - 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; - 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; - 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; - 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; - 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; - 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; - 6C72B85EA06B5BC9F7BF46CF /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 136D61BBC2D172E641730951 /* Pods.framework */; }; - 72AE2CB01C637BD600BF58AE /* TermsOfUse.txt in Resources */ = {isa = PBXBuildFile; fileRef = 72AE2CAF1C637BD600BF58AE /* TermsOfUse.txt */; }; - 72AE2CB11C637BD600BF58AE /* TermsOfUse.txt in Resources */ = {isa = PBXBuildFile; fileRef = 72AE2CAF1C637BD600BF58AE /* TermsOfUse.txt */; }; - 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; - D7890D930D148929D6E0E81C /* Pods_R87AttributedString_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A6BD4F158637CFE1D27FF784 /* Pods_R87AttributedString_Tests.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 6003F582195388D10070C39A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 6003F589195388D20070C39A; - remoteInfo = R87AttributedString; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 136D61BBC2D172E641730951 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 1D113DC7D3B50D23545EE2B2 /* R87AttributedString.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = R87AttributedString.podspec; path = ../R87AttributedString.podspec; sourceTree = ""; }; - 2D70B78CA45B949C3BC7A440 /* Pods_R87AttributedString_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_R87AttributedString_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 55AD0D384A7C5905F988B80E /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; - 5BDB9E231E0F9C06462F9CB6 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; - 6003F58A195388D20070C39A /* R87AttributedString_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = R87AttributedString_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 6003F595195388D20070C39A /* R87AttributedString-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "R87AttributedString-Info.plist"; sourceTree = ""; }; - 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 6003F59B195388D20070C39A /* R87AttributedString-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "R87AttributedString-Prefix.pch"; sourceTree = ""; }; - 6003F59C195388D20070C39A /* R87AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = R87AppDelegate.h; sourceTree = ""; }; - 6003F59D195388D20070C39A /* R87AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = R87AppDelegate.m; sourceTree = ""; }; - 6003F5A5195388D20070C39A /* R87ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = R87ViewController.h; sourceTree = ""; }; - 6003F5A6195388D20070C39A /* R87ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = R87ViewController.m; sourceTree = ""; }; - 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 6003F5AE195388D20070C39A /* R87AttributedString_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = R87AttributedString_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; - 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; - 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; - 62CCBB8CBADEE07F2CE8F7B7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 6A04AC659CB1359A91BDA3CD /* Pods-R87AttributedString_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-R87AttributedString_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-R87AttributedString_Tests/Pods-R87AttributedString_Tests.release.xcconfig"; sourceTree = ""; }; - 6A4480C2F84445F68BD4CC80 /* Pods-R87AttributedString_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-R87AttributedString_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-R87AttributedString_Tests/Pods-R87AttributedString_Tests.debug.xcconfig"; sourceTree = ""; }; - 72AE2CAF1C637BD600BF58AE /* TermsOfUse.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TermsOfUse.txt; sourceTree = ""; }; - 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; - A6BD4F158637CFE1D27FF784 /* Pods_R87AttributedString_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_R87AttributedString_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - CE6A59CDEADD224A87847ACB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - CF8316DB0F77E0559CDA0926 /* Pods-R87AttributedString_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-R87AttributedString_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-R87AttributedString_Example/Pods-R87AttributedString_Example.release.xcconfig"; sourceTree = ""; }; - DBD8FF782631698D5ADA1EA8 /* Pods-R87AttributedString_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-R87AttributedString_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-R87AttributedString_Example/Pods-R87AttributedString_Example.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 6003F587195388D20070C39A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, - 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, - 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, - 1B790EDBC512AEFE939FF25C /* Pods_R87AttributedString_Example.framework in Frameworks */, - 6C72B85EA06B5BC9F7BF46CF /* Pods.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6003F5AB195388D20070C39A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, - 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, - 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, - D7890D930D148929D6E0E81C /* Pods_R87AttributedString_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 6003F581195388D10070C39A = { - isa = PBXGroup; - children = ( - 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, - 6003F593195388D20070C39A /* Example for R87AttributedString */, - 6003F5B5195388D20070C39A /* Tests */, - 6003F58C195388D20070C39A /* Frameworks */, - 6003F58B195388D20070C39A /* Products */, - D68F6633B565AF9CD3249EEC /* Pods */, - ); - sourceTree = ""; - }; - 6003F58B195388D20070C39A /* Products */ = { - isa = PBXGroup; - children = ( - 6003F58A195388D20070C39A /* R87AttributedString_Example.app */, - 6003F5AE195388D20070C39A /* R87AttributedString_Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 6003F58C195388D20070C39A /* Frameworks */ = { - isa = PBXGroup; - children = ( - 6003F58D195388D20070C39A /* Foundation.framework */, - 6003F58F195388D20070C39A /* CoreGraphics.framework */, - 6003F591195388D20070C39A /* UIKit.framework */, - 6003F5AF195388D20070C39A /* XCTest.framework */, - 2D70B78CA45B949C3BC7A440 /* Pods_R87AttributedString_Example.framework */, - A6BD4F158637CFE1D27FF784 /* Pods_R87AttributedString_Tests.framework */, - 136D61BBC2D172E641730951 /* Pods.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 6003F593195388D20070C39A /* Example for R87AttributedString */ = { - isa = PBXGroup; - children = ( - 6003F59C195388D20070C39A /* R87AppDelegate.h */, - 6003F59D195388D20070C39A /* R87AppDelegate.m */, - 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, - 6003F5A5195388D20070C39A /* R87ViewController.h */, - 6003F5A6195388D20070C39A /* R87ViewController.m */, - 6003F5A8195388D20070C39A /* Images.xcassets */, - 72AE2CAF1C637BD600BF58AE /* TermsOfUse.txt */, - 6003F594195388D20070C39A /* Supporting Files */, - ); - name = "Example for R87AttributedString"; - path = R87AttributedString; - sourceTree = ""; - }; - 6003F594195388D20070C39A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 6003F595195388D20070C39A /* R87AttributedString-Info.plist */, - 6003F596195388D20070C39A /* InfoPlist.strings */, - 6003F599195388D20070C39A /* main.m */, - 6003F59B195388D20070C39A /* R87AttributedString-Prefix.pch */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 6003F5B5195388D20070C39A /* Tests */ = { - isa = PBXGroup; - children = ( - 6003F5BB195388D20070C39A /* Tests.m */, - 6003F5B6195388D20070C39A /* Supporting Files */, - ); - path = Tests; - sourceTree = ""; - }; - 6003F5B6195388D20070C39A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 6003F5B7195388D20070C39A /* Tests-Info.plist */, - 6003F5B8195388D20070C39A /* InfoPlist.strings */, - 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - 1D113DC7D3B50D23545EE2B2 /* R87AttributedString.podspec */, - 62CCBB8CBADEE07F2CE8F7B7 /* README.md */, - CE6A59CDEADD224A87847ACB /* LICENSE */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - D68F6633B565AF9CD3249EEC /* Pods */ = { - isa = PBXGroup; - children = ( - DBD8FF782631698D5ADA1EA8 /* Pods-R87AttributedString_Example.debug.xcconfig */, - CF8316DB0F77E0559CDA0926 /* Pods-R87AttributedString_Example.release.xcconfig */, - 6A4480C2F84445F68BD4CC80 /* Pods-R87AttributedString_Tests.debug.xcconfig */, - 6A04AC659CB1359A91BDA3CD /* Pods-R87AttributedString_Tests.release.xcconfig */, - 55AD0D384A7C5905F988B80E /* Pods.debug.xcconfig */, - 5BDB9E231E0F9C06462F9CB6 /* Pods.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 6003F589195388D20070C39A /* R87AttributedString_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "R87AttributedString_Example" */; - buildPhases = ( - 2DDF672DE081F7CFF759FBA7 /* Check Pods Manifest.lock */, - 6003F586195388D20070C39A /* Sources */, - 6003F587195388D20070C39A /* Frameworks */, - 6003F588195388D20070C39A /* Resources */, - 4B0631D2DB00E5105812EEE1 /* Embed Pods Frameworks */, - FCEEFA2B63845E5C14A24B16 /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = R87AttributedString_Example; - productName = R87AttributedString; - productReference = 6003F58A195388D20070C39A /* R87AttributedString_Example.app */; - productType = "com.apple.product-type.application"; - }; - 6003F5AD195388D20070C39A /* R87AttributedString_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "R87AttributedString_Tests" */; - buildPhases = ( - B84AA8CFE18DD050155A53DF /* Check Pods Manifest.lock */, - 6003F5AA195388D20070C39A /* Sources */, - 6003F5AB195388D20070C39A /* Frameworks */, - 6003F5AC195388D20070C39A /* Resources */, - F1F6B4BD0AA97E02C74A7816 /* Embed Pods Frameworks */, - BBF4B431211E48A69860E1FB /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 6003F5B4195388D20070C39A /* PBXTargetDependency */, - ); - name = R87AttributedString_Tests; - productName = R87AttributedStringTests; - productReference = 6003F5AE195388D20070C39A /* R87AttributedString_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 6003F582195388D10070C39A /* Project object */ = { - isa = PBXProject; - attributes = { - CLASSPREFIX = R87; - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = "Gergo Nemeth"; - TargetAttributes = { - 6003F5AD195388D20070C39A = { - TestTargetID = 6003F589195388D20070C39A; - }; - }; - }; - buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "R87AttributedString" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 6003F581195388D10070C39A; - productRefGroup = 6003F58B195388D20070C39A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 6003F589195388D20070C39A /* R87AttributedString_Example */, - 6003F5AD195388D20070C39A /* R87AttributedString_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 6003F588195388D20070C39A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, - 72AE2CB01C637BD600BF58AE /* TermsOfUse.txt in Resources */, - 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, - 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6003F5AC195388D20070C39A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, - 72AE2CB11C637BD600BF58AE /* TermsOfUse.txt in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 2DDF672DE081F7CFF759FBA7 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - 4B0631D2DB00E5105812EEE1 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - B84AA8CFE18DD050155A53DF /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - BBF4B431211E48A69860E1FB /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-R87AttributedString_Tests/Pods-R87AttributedString_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - F1F6B4BD0AA97E02C74A7816 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-R87AttributedString_Tests/Pods-R87AttributedString_Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - FCEEFA2B63845E5C14A24B16 /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 6003F586195388D20070C39A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F59E195388D20070C39A /* R87AppDelegate.m in Sources */, - 6003F5A7195388D20070C39A /* R87ViewController.m in Sources */, - 6003F59A195388D20070C39A /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6003F5AA195388D20070C39A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6003F5BC195388D20070C39A /* Tests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 6003F589195388D20070C39A /* R87AttributedString_Example */; - targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 6003F596195388D20070C39A /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 6003F597195388D20070C39A /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; - 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 6003F5B9195388D20070C39A /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 6003F5BD195388D20070C39A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 6003F5BE195388D20070C39A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 6003F5C0195388D20070C39A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 55AD0D384A7C5905F988B80E /* Pods.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "R87AttributedString/R87AttributedString-Prefix.pch"; - INFOPLIST_FILE = "R87AttributedString/R87AttributedString-Info.plist"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - 6003F5C1195388D20070C39A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5BDB9E231E0F9C06462F9CB6 /* Pods.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "R87AttributedString/R87AttributedString-Prefix.pch"; - INFOPLIST_FILE = "R87AttributedString/R87AttributedString-Info.plist"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - 6003F5C3195388D20070C39A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - "$(DEVELOPER_FRAMEWORKS_DIR)", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = "Tests/Tests-Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/R87AttributedString_Example.app/R87AttributedString_Example"; - WRAPPER_EXTENSION = xctest; - }; - name = Debug; - }; - 6003F5C4195388D20070C39A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - "$(DEVELOPER_FRAMEWORKS_DIR)", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; - INFOPLIST_FILE = "Tests/Tests-Info.plist"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/R87AttributedString_Example.app/R87AttributedString_Example"; - WRAPPER_EXTENSION = xctest; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 6003F585195388D10070C39A /* Build configuration list for PBXProject "R87AttributedString" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6003F5BD195388D20070C39A /* Debug */, - 6003F5BE195388D20070C39A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "R87AttributedString_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6003F5C0195388D20070C39A /* Debug */, - 6003F5C1195388D20070C39A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "R87AttributedString_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6003F5C3195388D20070C39A /* Debug */, - 6003F5C4195388D20070C39A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 6003F582195388D10070C39A /* Project object */; -} diff --git a/Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-Example.xcscheme b/Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-Example.xcscheme deleted file mode 100644 index 70e1e4f..0000000 --- a/Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-Example.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-R87AttributedString.xcscheme b/Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-R87AttributedString.xcscheme deleted file mode 100644 index 103f14f..0000000 --- a/Example/R87AttributedString.xcodeproj/xcshareddata/xcschemes/R87AttributedString-R87AttributedString.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/R87AttributedString.xcworkspace/contents.xcworkspacedata b/Example/R87AttributedString.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 5e89d26..0000000 --- a/Example/R87AttributedString.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Example/R87AttributedString/Images.xcassets/LaunchImage.launchimage/Contents.json b/Example/R87AttributedString/Images.xcassets/LaunchImage.launchimage/Contents.json deleted file mode 100644 index 4458b40..0000000 --- a/Example/R87AttributedString/Images.xcassets/LaunchImage.launchimage/Contents.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "images" : [ - { - "orientation" : "portrait", - "idiom" : "iphone", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - }, - { - "orientation" : "portrait", - "idiom" : "iphone", - "subtype" : "retina4", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "1x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "1x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/Example/R87AttributedString/Main.storyboard b/Example/R87AttributedString/Main.storyboard deleted file mode 100644 index 1f58c52..0000000 --- a/Example/R87AttributedString/Main.storyboard +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/R87AttributedString/R87AppDelegate.h b/Example/R87AttributedString/R87AppDelegate.h deleted file mode 100644 index bc6d03d..0000000 --- a/Example/R87AttributedString/R87AppDelegate.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// R87AppDelegate.h -// R87AttributedString -// -// Created by Gergo Nemeth on 02/04/2016. -// Copyright (c) 2016 Gergo Nemeth. All rights reserved. -// - -@import UIKit; - -@interface R87AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end diff --git a/Example/R87AttributedString/R87AppDelegate.m b/Example/R87AttributedString/R87AppDelegate.m deleted file mode 100644 index acd0461..0000000 --- a/Example/R87AttributedString/R87AppDelegate.m +++ /dev/null @@ -1,46 +0,0 @@ -// -// R87AppDelegate.m -// R87AttributedString -// -// Created by Gergo Nemeth on 02/04/2016. -// Copyright (c) 2016 Gergo Nemeth. All rights reserved. -// - -#import "R87AppDelegate.h" - -@implementation R87AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - // Override point for customization after application launch. - return YES; -} - -- (void)applicationWillResignActive:(UIApplication *)application -{ - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. -} - -- (void)applicationDidEnterBackground:(UIApplication *)application -{ - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. -} - -- (void)applicationWillEnterForeground:(UIApplication *)application -{ - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. -} - -- (void)applicationDidBecomeActive:(UIApplication *)application -{ - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. -} - -- (void)applicationWillTerminate:(UIApplication *)application -{ - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. -} - -@end diff --git a/Example/R87AttributedString/R87AttributedString-Prefix.pch b/Example/R87AttributedString/R87AttributedString-Prefix.pch deleted file mode 100644 index 7825372..0000000 --- a/Example/R87AttributedString/R87AttributedString-Prefix.pch +++ /dev/null @@ -1,16 +0,0 @@ -// -// Prefix header -// -// The contents of this file are implicitly included at the beginning of every source file. -// - -#import - -#ifndef __IPHONE_5_0 -#warning "This project uses features only available in iOS SDK 5.0 and later." -#endif - -#ifdef __OBJC__ - @import UIKit; - @import Foundation; -#endif diff --git a/Example/R87AttributedString/R87ViewController.h b/Example/R87AttributedString/R87ViewController.h deleted file mode 100644 index 17065e4..0000000 --- a/Example/R87AttributedString/R87ViewController.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// R87ViewController.h -// R87AttributedString -// -// Created by Gergo Nemeth on 02/04/2016. -// Copyright (c) 2016 Gergo Nemeth. All rights reserved. -// - -@import UIKit; - -@interface R87ViewController : UIViewController - -@end diff --git a/Example/R87AttributedString/R87ViewController.m b/Example/R87AttributedString/R87ViewController.m deleted file mode 100644 index 3415f9e..0000000 --- a/Example/R87AttributedString/R87ViewController.m +++ /dev/null @@ -1,42 +0,0 @@ -// -// R87ViewController.m -// R87AttributedString -// -// Created by Gergo Nemeth on 02/04/2016. -// Copyright (c) 2016 Gergo Nemeth. All rights reserved. -// - -#import "R87ViewController.h" -#import - -@interface R87ViewController () - -@property (weak, nonatomic) IBOutlet UITextView *textView; - -@end - -@implementation R87ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - - NSString *textString = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"TermsOfUse" ofType:@"txt"] encoding:NSUTF8StringEncoding error:nil]; - NSDictionary *defaultTextAttributes = @{ - NSForegroundColorAttributeName: [UIColor blackColor], - NSFontAttributeName: [UIFont systemFontOfSize:14.0], - }; - NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithString:textString attributes:defaultTextAttributes]; - - [text r87_addAttributes:@{ - NSFontAttributeName: [UIFont boldSystemFontOfSize:24.0], - } betweenCharacters:@"#"]; - - [text r87_addAttributes:@{ - NSForegroundColorAttributeName: [UIColor redColor], - NSFontAttributeName: [UIFont systemFontOfSize:35.0], - } betweenCharacters:@"*"]; - - self.textView.attributedText = text; -} - -@end diff --git a/Example/R87AttributedString/en.lproj/InfoPlist.strings b/Example/R87AttributedString/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/Example/R87AttributedString/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/Example/R87AttributedString/main.m b/Example/R87AttributedString/main.m deleted file mode 100644 index 5910581..0000000 --- a/Example/R87AttributedString/main.m +++ /dev/null @@ -1,17 +0,0 @@ -// -// main.m -// R87AttributedString -// -// Created by Gergo Nemeth on 02/04/2016. -// Copyright (c) 2016 Gergo Nemeth. All rights reserved. -// - -@import UIKit; -#import "R87AppDelegate.h" - -int main(int argc, char * argv[]) -{ - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([R87AppDelegate class])); - } -} diff --git a/Example/Tests/Tests-Info.plist b/Example/Tests/Tests-Info.plist deleted file mode 100644 index 169b6f7..0000000 --- a/Example/Tests/Tests-Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Example/Tests/Tests-Prefix.pch b/Example/Tests/Tests-Prefix.pch deleted file mode 100644 index 0bfb741..0000000 --- a/Example/Tests/Tests-Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// The contents of this file are implicitly included at the beginning of every test case source file. - -#ifdef __OBJC__ - - - -#endif diff --git a/Example/Tests/Tests.m b/Example/Tests/Tests.m deleted file mode 100644 index 9caa4d1..0000000 --- a/Example/Tests/Tests.m +++ /dev/null @@ -1,35 +0,0 @@ -// -// R87AttributedStringTests.m -// R87AttributedStringTests -// -// Created by Gergo Nemeth on 02/04/2016. -// Copyright (c) 2016 Gergo Nemeth. All rights reserved. -// - -@import XCTest; - -@interface Tests : XCTestCase - -@end - -@implementation Tests - -- (void)setUp -{ - [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown -{ - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample -{ - XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); -} - -@end - diff --git a/Example/Tests/en.lproj/InfoPlist.strings b/Example/Tests/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/Example/Tests/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/Pod/Classes/NSMutableAttributedString+R87Formatter.h b/Pod/Classes/NSMutableAttributedString+R87Formatter.h deleted file mode 100644 index 04002ce..0000000 --- a/Pod/Classes/NSMutableAttributedString+R87Formatter.h +++ /dev/null @@ -1,58 +0,0 @@ -// -// NSMutableAttributedString+R87Formatter.h -// Analyze Life -// -// Created by Gergő Németh on 29/04/15. -// Copyright (c) 2015 reden87. All rights reserved. -// - -#import - -@interface NSMutableAttributedString (R87Formatter) - -#pragma mark - Changing attributes - -/** Same as setAttributes:range: in NSAttributedString class but this method sets the attribute between certain characters. - - The following example sets red text color to the \@"This is a *red* word." text: - - [attributexText r87_setAttributes:@{NSForegroundColorAttributeName: [UIColor redColor]} betweenCharacters:\@"*"]; - - The result is: \@"This is a red word." where the red word's color is red. - */ -- (void)r87_setAttributes:(NSDictionary *)attributes betweenCharacters:(NSString *)characters; - -/** Same as addAttribute:value:range: in NSAttributedString class but this method adds the attribute between certain characters. - - The following example adds red text color to the \@"This is a *red* word." text: - - [attributexText r87_addAttribute:NSForegroundColorAttributeName value:[UIColor redColor] betweenCharacters:\@"*"]; - - The result is: \@"This is a red word." where the red word's color is red. - */ -- (void)r87_addAttribute:(NSString *)name value:(id)value betweenCharacters:(NSString *)characters; - -/** Same as addAttributes:range: in NSAttributedString class but this method adds the attribute between certain characters. - - The following example adds red text color to the \@"This is a *red* word." text: - - [attributexText r87_addAttributes:@{NSForegroundColorAttributeName: [UIColor redColor]} betweenCharacters:\@"*"]; - - The result is: \@"This is a red word." where the red word's color is red. - */ -- (void)r87_addAttributes:(NSDictionary *)attributes betweenCharacters:(NSString *)characters; - -/** Same as removeAttribute:range: in NSAttributedString class but this method removes the attribute between certain characters. - - The following example removes red text color from the \@"This is a *red* word." text: - - [attributexText r87_removeAttribute:NSForegroundColorAttributeName betweenCharacters:\@"*"]; - - The result is: \@"This is a red word." where the red word's color is not red any more. - */ -- (void)r87_removeAttribute:(NSString *)name betweenCharacters:(NSString *)characters; - -/** Returns an array of NSValue object which contains NSRange structures. */ -- (NSArray *)r87_findRangesWithCharaters:(NSString *)charactersToFind; - -@end diff --git a/Pod/Classes/NSMutableAttributedString+R87Formatter.m b/Pod/Classes/NSMutableAttributedString+R87Formatter.m deleted file mode 100644 index 727cc0d..0000000 --- a/Pod/Classes/NSMutableAttributedString+R87Formatter.m +++ /dev/null @@ -1,96 +0,0 @@ -// -// NSMutableAttributedString+R87Formatter.m -// Analyze Life -// -// Created by Gergő Németh on 29/04/15. -// Copyright (c) 2015 reden87. All rights reserved. -// - -#import "NSMutableAttributedString+R87Formatter.h" - -@implementation NSMutableAttributedString (R87Formatter) - -#pragma mark - Changing attributes - -- (void)r87_setAttributes:(NSDictionary *)attributes betweenCharacters:(NSString *)characters { - NSArray *ranges = [self r87_findRangesWithCharaters:characters]; - - [ranges enumerateObjectsUsingBlock: ^(id obj, NSUInteger idx, BOOL *stop) { - if ([obj isKindOfClass:[NSValue class]]) { - NSValue *thisValue = (NSValue *)obj; - NSRange range = thisValue.rangeValue; - - [self setAttributes:attributes range:range]; - } - }]; -} - -- (void)r87_addAttribute:(NSString *)name value:(id)value betweenCharacters:(NSString *)characters { - NSArray *ranges = [self r87_findRangesWithCharaters:characters]; - - [ranges enumerateObjectsUsingBlock: ^(id obj, NSUInteger idx, BOOL *stop) { - if ([obj isKindOfClass:[NSValue class]]) { - NSValue *thisValue = (NSValue *)obj; - NSRange range = thisValue.rangeValue; - - [self addAttribute:name value:value range:range]; - } - }]; -} - -- (void)r87_addAttributes:(NSDictionary *)attributes betweenCharacters:(NSString *)characters { - NSArray *ranges = [self r87_findRangesWithCharaters:characters]; - - [ranges enumerateObjectsUsingBlock: ^(id obj, NSUInteger idx, BOOL *stop) { - if ([obj isKindOfClass:[NSValue class]]) { - NSValue *thisValue = (NSValue *)obj; - NSRange range = thisValue.rangeValue; - - [self addAttributes:attributes range:range]; - } - }]; -} - -- (void)r87_removeAttribute:(NSString *)name betweenCharacters:(NSString *)characters { - NSArray *ranges = [self r87_findRangesWithCharaters:characters]; - - [ranges enumerateObjectsUsingBlock: ^(id obj, NSUInteger idx, BOOL *stop) { - if ([obj isKindOfClass:[NSValue class]]) { - NSValue *thisValue = (NSValue *)obj; - NSRange range = thisValue.rangeValue; - - [self removeAttribute:name range:range]; - } - }]; -} - -- (NSArray *)r87_findRangesWithCharaters:(NSString *)charactersToFind { - NSMutableArray *resultArray = [[NSMutableArray alloc] init]; - - BOOL insideTheRange = NO; - NSUInteger startingRangeLocation = 0; - while ([self.mutableString rangeOfString:charactersToFind].location != NSNotFound) { - NSRange charactersLocation = [self.mutableString rangeOfString:charactersToFind]; - - if (!insideTheRange) { - startingRangeLocation = charactersLocation.location; - insideTheRange = YES; - - // remove characters - [self.mutableString deleteCharactersInRange:charactersLocation]; - } - else { - NSRange range = NSMakeRange(startingRangeLocation, charactersLocation.location - startingRangeLocation); - insideTheRange = NO; - - [resultArray addObject:[NSValue valueWithRange:range]]; - - // remove characters - [self.mutableString deleteCharactersInRange:charactersLocation]; - } - } - - return [resultArray copy]; -} - -@end diff --git a/Pod/Classes/R87AttributedString.swift b/Pod/Classes/R87AttributedString.swift new file mode 100644 index 0000000..ca639d7 --- /dev/null +++ b/Pod/Classes/R87AttributedString.swift @@ -0,0 +1,100 @@ +// +// R87AttributedString.swift +// R87AttributedString +// +// Created by Bruno Muniz Azevedo Filho on 27/10/17. +// Copyright © 2017 bmaf. All rights reserved. +// +import UIKit +extension NSMutableAttributedString { + + //MARK - Changing attributes + /** Same as setAttributes:range: in NSAttributedString class but this method sets the attribute between certain characters. + The following example sets red text color to the "This is a *red* word." text: + attributedString.r87_setAttributes(attributes: [NSAttributedStringKey.foregroundColor : UIColor.red], betweenCharacters: "*") + The result is: "This is a red word." where the red word's color is red. + */ + + public func r87_setAttributes(attributes: Dictionary, betweenCharacters: String) { + let ranges: Array = self.r87_findRangesWithCharaters(charactersToFind: betweenCharacters) + for obj in ranges { + let thisValue: NSValue = obj as NSValue + let range: NSRange = thisValue.rangeValue + self.setAttributes(attributes, range: range) + } + } + + /** Same as addAttribute:value:range: in NSAttributedString class but this method adds the attribute between certain characters. + The following example adds red text color to the "This is a *red* word." text: + attributedString.r87_addAttribute(name: NSAttributedStringKey.foregroundColor, value: UIColor.red, betweenCharacters: "*") + The result is: "This is a red word." where the red word's color is red. + */ + + public func r87_addAttribute(name: NSAttributedStringKey, value: Any, betweenCharacters: String) { + let ranges: Array = self.r87_findRangesWithCharaters(charactersToFind: betweenCharacters) + for obj in ranges { + let thisValue: NSValue = obj as NSValue + let range: NSRange = thisValue.rangeValue + self.addAttribute(name, value: value, range: range) + } + } + + /** Same as addAttributes:range: in NSAttributedString class but this method adds the attribute between certain characters. + The following example adds red text color to the "This is a *red* word." text: + attributedString.r87_addAttributes(attributes: [NSAttributedStringKey.foregroundColor : UIColor.red], betweenCharacters: "*") + The result is: "This is a red word." where the red word's color is red. + */ + + public func r87_addAttributes(attributes: Dictionary, betweenCharacters: String) { + let ranges: Array = self.r87_findRangesWithCharaters(charactersToFind: betweenCharacters) + for obj in ranges { + let thisValue: NSValue = obj as NSValue + let range: NSRange = thisValue.rangeValue + + self.addAttributes(attributes, range: range) + } + } + + /** Same as removeAttribute:range: in NSAttributedString class but this method removes the attribute between certain characters. + The following example removes red text color from the "This is a *red* word." text: + attributedString.r87_removeAttribute(name: NSAttributedStringKey.foregroundColor, betweenCharacters: "*") + The result is: "This is a red word." where the red word's color is not red any more. + */ + + public func r87_removeAttribute(name: NSAttributedStringKey, betweenCharacters: String) { + let ranges: Array = self.r87_findRangesWithCharaters(charactersToFind: betweenCharacters) + for obj in ranges { + let thisValue: NSValue = obj as NSValue + let range: NSRange = thisValue.rangeValue + self.removeAttribute(name, range: range) + } + } + + // Returns an array of NSValue object which contains NSRange structures. + public func r87_findRangesWithCharaters(charactersToFind: String) -> Array { + let resultArray = NSMutableArray() + var insideTheRange: Bool = false + var startingRangeLocation: Int = 0 + + while self.mutableString.range(of: charactersToFind).location != NSNotFound { + let charactersLocation: NSRange! = self.mutableString.range(of: charactersToFind) + + if !insideTheRange { + startingRangeLocation = charactersLocation.location + insideTheRange = true + + // remove characters + self.mutableString.deleteCharacters(in: charactersLocation) + } + else { + let range: NSRange! = NSMakeRange(startingRangeLocation, charactersLocation.location - startingRangeLocation) + insideTheRange = false + + resultArray.add(NSValue.init(range: range)) + // remove characters + self.mutableString.deleteCharacters(in: charactersLocation) + } + } + return resultArray.copy() as! Array + } +} diff --git a/R87AttributedString.podspec b/R87AttributedString.podspec index b0b4515..b575b59 100644 --- a/R87AttributedString.podspec +++ b/R87AttributedString.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "R87AttributedString" - s.version = "0.1.2" + s.version = "0.2.0" s.summary = "With the help of R87AttributedString you can format attributed texts easily." s.description = <<-DESC @@ -13,11 +13,10 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/reden87/R87AttributedString.git", :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/reden87' - s.platform = :ios, '4.3' + s.platform = :ios, '7.0' s.requires_arc = true s.source_files = 'Pod/Classes/**/*' - s.public_header_files = 'Pod/Classes/**/*.h' s.frameworks = 'Foundation' end diff --git a/README.md b/README.md index e5d111b..7f57619 100644 --- a/README.md +++ b/README.md @@ -27,29 +27,21 @@ To run the example project, clone the repo, and run `pod install` from the Examp You can use the librarly like this: -```obj-c -NSString *textString = @"*CocoaPods Events*\n\n#Code of Conduct#\nAll attendees, speakers, sponsors and volunteers..."; -NSDictionary *defaultTextAttributes = @{ - NSForegroundColorAttributeName: [UIColor blackColor], - NSFontAttributeName: [UIFont systemFontOfSize:14.0], -}; -NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithString:textString attributes:defaultTextAttributes]; - -[text r87_addAttributes:@{ - NSFontAttributeName: [UIFont boldSystemFontOfSize:24.0], -} betweenCharacters:@"#"]; - -[text r87_addAttributes:@{ - NSForegroundColorAttributeName: [UIColor redColor], - NSFontAttributeName: [UIFont systemFontOfSize:35.0], -} betweenCharacters:@"*"]; - -self.textView.attributedText = text; +```swift +let textString = "*This is amazing*\n\n#Code of Conduct#\nAll atten*d*ees, -speakers-, $sponsors$" +let attributedString = NSMutableAttributedString(string: textString) + +attributedString.r87_addAttribute(name: .foregroundColor, value: UIColor.red, betweenCharacters: "*") +attributedString.r87_setAttributes(attributes: [.foregroundColor: UIColor.green], betweenCharacters: "#") +attributedString.r87_addAttributes(attributes: [.font: UIFont.systemFont(ofSize: 25)], betweenCharacters: "$") +attributedString.r87_removeAttribute(name: NSAttributedStringKey.font, betweenCharacters: "-") + +textView.attributedText = attributedString ``` ## Compatibility -iOS 4.3+ +iOS 7.0+ ## License