From 3b03badbff4f5c0da7a46bf9deec48a78ffd0a87 Mon Sep 17 00:00:00 2001 From: Asif Habib Date: Tue, 25 Aug 2020 11:49:00 +0500 Subject: [PATCH] - Podspec Swift version updated to 5.0 - Check for @available(iOS 9.0, *) removed. --- Example/Podfile.lock | 2 +- .../Local Podspecs/SteviaPod.podspec.json | 6 +- Example/Pods/Manifest.lock | 2 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 309 +++++++++--------- Example/SteviaPod.xcodeproj/project.pbxproj | 8 +- SteviaPod.podspec | 1 + SteviaPod/Classes/Stevia+Hierarchy.swift | 1 - SteviaPod/Classes/Stevia+LayoutAnchors.swift | 19 +- SteviaPod/Classes/Stevia+Operators.swift | 1 - SteviaPod/Classes/Stevia+Percentage.swift | 1 - SteviaPod/Classes/Stevia+Stacks.swift | 4 +- 11 files changed, 183 insertions(+), 171 deletions(-) diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 0027bd1..49da732 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - SteviaPod: 02e5f0e7414c95bbbc91254ac84e873c29f72b70 + SteviaPod: 9aa8adf3d0a05e5d58d1a006ab55cd0adaeb6d7d PODFILE CHECKSUM: ec39b5d91f2e16557b499c6916a7a47209581d94 diff --git a/Example/Pods/Local Podspecs/SteviaPod.podspec.json b/Example/Pods/Local Podspecs/SteviaPod.podspec.json index 5b107cb..0b2bff7 100644 --- a/Example/Pods/Local Podspecs/SteviaPod.podspec.json +++ b/Example/Pods/Local Podspecs/SteviaPod.podspec.json @@ -16,7 +16,9 @@ "tag": "0.1.0" }, "platforms": { - "ios": "8.0" + "ios": "12.0" }, - "source_files": "SteviaPod/Classes/**/*" + "source_files": "SteviaPod/Classes/**/*", + "swift_versions": "5.0", + "swift_version": "5.0" } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 0027bd1..49da732 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - SteviaPod: 02e5f0e7414c95bbbc91254ac84e873c29f72b70 + SteviaPod: 9aa8adf3d0a05e5d58d1a006ab55cd0adaeb6d7d PODFILE CHECKSUM: ec39b5d91f2e16557b499c6916a7a47209581d94 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index d2cb3b7..e1bcc4f 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -60,7 +60,7 @@ 1ECEF3432FA0BE29CB920D8D8D2267F1 /* Stevia+Center.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Center.swift"; path = "SteviaPod/Classes/Stevia+Center.swift"; sourceTree = ""; }; 2932EE93F4F53F98E7C58B6E86B8C0FB /* Stevia+Size.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Size.swift"; path = "SteviaPod/Classes/Stevia+Size.swift"; sourceTree = ""; }; 2EC384C63F6CB954BA40B64B14DE2FA8 /* Stevia+Alignment.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Alignment.swift"; path = "SteviaPod/Classes/Stevia+Alignment.swift"; sourceTree = ""; }; - 30CAE9EBD2DF37E0335EB1B86F7B1520 /* SteviaPod.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SteviaPod.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 30CAE9EBD2DF37E0335EB1B86F7B1520 /* SteviaPod.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SteviaPod.framework; path = SteviaPod.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 31397D9346FA60B829254DEE90CBAA7D /* Pods-SteviaPod_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SteviaPod_Tests-acknowledgements.plist"; sourceTree = ""; }; 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 32299E9BB3ED4E74F4E2CD9DDE8F8DFC /* Stevia+Constraints.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Constraints.swift"; path = "SteviaPod/Classes/Stevia+Constraints.swift"; sourceTree = ""; }; @@ -69,16 +69,16 @@ 38406E114025F482978421AE2787D4AD /* Stevia+GetConstraint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+GetConstraint.swift"; path = "SteviaPod/Classes/Stevia+GetConstraint.swift"; sourceTree = ""; }; 3CFA092FF8FE8AA8E53768714C9C06B4 /* Stevia+Fill.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Fill.swift"; path = "SteviaPod/Classes/Stevia+Fill.swift"; sourceTree = ""; }; 43E730A5218941459708EC5A3CAB7D1F /* Pods-SteviaPod_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SteviaPod_Example-umbrella.h"; sourceTree = ""; }; - 4440DCB2F9B0B311E4E03ED2502EE51F /* Pods_SteviaPod_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SteviaPod_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4440DCB2F9B0B311E4E03ED2502EE51F /* Pods_SteviaPod_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SteviaPod_Example.framework; path = "Pods-SteviaPod_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 4445FCF4C3A2DB3B9781FFB0227FADF4 /* Stevia+Style.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Style.swift"; path = "SteviaPod/Classes/Stevia+Style.swift"; sourceTree = ""; }; 46E24A55E6026680364B20D6A68CE2C3 /* Pods-SteviaPod_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SteviaPod_Tests-acknowledgements.markdown"; sourceTree = ""; }; - 48DE7108AAF6C23ADE659FB8B3A93EBB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 48DE7108AAF6C23ADE659FB8B3A93EBB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 50B4F6D8CF1438C993704510A550239F /* Pods-SteviaPod_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SteviaPod_Example-dummy.m"; sourceTree = ""; }; 58C40C02A855F8C39FB1A40CDFE0BBDD /* Stevia+DoubleDash.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+DoubleDash.swift"; path = "SteviaPod/Classes/Stevia+DoubleDash.swift"; sourceTree = ""; }; - 59E0D0C2BE0074CB623896B99EE8489A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + 59E0D0C2BE0074CB623896B99EE8489A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 5DBCEBDE05FE743BD899D7043CCD2E4C /* SteviaPod.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SteviaPod.modulemap; sourceTree = ""; }; 5DBF0C2BA98B342BF90751AA325687DB /* Stevia+Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Operators.swift"; path = "SteviaPod/Classes/Stevia+Operators.swift"; sourceTree = ""; }; - 5EE3224B3EA7242127059CA8428658C7 /* Pods_SteviaPod_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SteviaPod_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5EE3224B3EA7242127059CA8428658C7 /* Pods_SteviaPod_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SteviaPod_Tests.framework; path = "Pods-SteviaPod_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 6956245E855CBB8EDD63C317CDD92E07 /* Stevia+Baselines.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Baselines.swift"; path = "SteviaPod/Classes/Stevia+Baselines.swift"; sourceTree = ""; }; 7199C20A2585D5B008C7A6A6D4288D69 /* Stevia+FlexibleMargin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+FlexibleMargin.swift"; path = "SteviaPod/Classes/Stevia+FlexibleMargin.swift"; sourceTree = ""; }; 726BE40E7241F713D4484B9A260FDC6F /* Pods-SteviaPod_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SteviaPod_Example-acknowledgements.markdown"; sourceTree = ""; }; @@ -87,8 +87,8 @@ 7D41F693EA133330BF38295C502155FA /* Pods-SteviaPod_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SteviaPod_Example.debug.xcconfig"; sourceTree = ""; }; 90AAE4248627349A9882E1D935BAD5B4 /* Pods-SteviaPod_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SteviaPod_Example.release.xcconfig"; sourceTree = ""; }; 9142EA8E020CC6B6D46BB1BCE0497D3A /* Pods-SteviaPod_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SteviaPod_Example-frameworks.sh"; sourceTree = ""; }; - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - A4C6F80EE566FA1FBA18F01040D0F979 /* SteviaPod.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = SteviaPod.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + A4C6F80EE566FA1FBA18F01040D0F979 /* SteviaPod.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = SteviaPod.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; A635DB870075E0A17AA7440BD15BBE8C /* Pods-SteviaPod_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SteviaPod_Tests-dummy.m"; sourceTree = ""; }; A7DB6D93367BDEE647CE5E76C9AB921A /* Stevia+Percentage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Stevia+Percentage.swift"; path = "SteviaPod/Classes/Stevia+Percentage.swift"; sourceTree = ""; }; A88F182E653391A783135838106C74E2 /* SteviaPod-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SteviaPod-umbrella.h"; sourceTree = ""; }; @@ -478,10 +478,76 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 05DA1E02F756B64B768C8C26A3C5A4F3 /* Debug */ = { + 131356BE54884448CA49C07BEDF4BB2A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = C6E9E529D6BD8EA3230E2AB86DD412C3 /* SteviaPod.debug.xcconfig */; 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; + 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 = ( + "POD_CONFIGURATION_DEBUG=1", + "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 = 12.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 1765305AA233AC03FE7C0AAFF32C9900 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E467EC8BEB57769FA8C26202EBB7DE78 /* SteviaPod.release.xcconfig */; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -494,7 +560,7 @@ GCC_PREFIX_HEADER = "Target Support Files/SteviaPod/SteviaPod-prefix.pch"; INFOPLIST_FILE = "Target Support Files/SteviaPod/SteviaPod-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MODULEMAP_FILE = "Target Support Files/SteviaPod/SteviaPod.modulemap"; PRODUCT_MODULE_NAME = SteviaPod; @@ -502,17 +568,21 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 1541D562B64FD1DF473EDD114267F6C2 /* Release */ = { + 32D4CA1649B0FB3A43410DE2200D2F47 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E467EC8BEB57769FA8C26202EBB7DE78 /* SteviaPod.release.xcconfig */; + baseConfigurationReference = F0BC13F611EC0B342AA6F994D83CA4F2 /* Pods-SteviaPod_Tests.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -522,18 +592,19 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/SteviaPod/SteviaPod-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SteviaPod/SteviaPod-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-SteviaPod_Tests/Pods-SteviaPod_Tests-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/SteviaPod/SteviaPod.modulemap"; - PRODUCT_MODULE_NAME = SteviaPod; - PRODUCT_NAME = SteviaPod; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SteviaPod_Tests/Pods-SteviaPod_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -541,11 +612,13 @@ }; name = Release; }; - 252D07435A86909ECEEDB159C2402DCE /* Debug */ = { + 357D13C07D8B3CCF3495375193604173 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 7D41F693EA133330BF38295C502155FA /* Pods-SteviaPod_Example.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -557,7 +630,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "Target Support Files/Pods-SteviaPod_Example/Pods-SteviaPod_Example-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-SteviaPod_Example/Pods-SteviaPod_Example.modulemap"; @@ -574,11 +647,13 @@ }; name = Debug; }; - 72CD68B0197242A9F586F7ABFD976C5D /* Release */ = { + 52F6CCE15DA989AF4D51881CEE686CD8 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F0BC13F611EC0B342AA6F994D83CA4F2 /* Pods-SteviaPod_Tests.release.xcconfig */; + baseConfigurationReference = B656FF0E40BAE031EABCBC4F0542CB8F /* Pods-SteviaPod_Tests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -590,7 +665,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "Target Support Files/Pods-SteviaPod_Tests/Pods-SteviaPod_Tests-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-SteviaPod_Tests/Pods-SteviaPod_Tests.modulemap"; @@ -602,13 +677,48 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E24B84163EABD71343E792314D47FA49 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 90AAE4248627349A9882E1D935BAD5B4 /* Pods-SteviaPod_Example.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SteviaPod_Example/Pods-SteviaPod_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SteviaPod_Example/Pods-SteviaPod_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; - B0087CB4594321EF41619F3181FE120E /* Release */ = { + F090CD07A80273D5A73C8EA19224ADDB /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -656,86 +766,24 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; name = Release; }; - B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { + F7CED3EE54F23BC3CD5F4361E49AE670 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C6E9E529D6BD8EA3230E2AB86DD412C3 /* SteviaPod.debug.xcconfig */; 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; - 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 = ( - "POD_CONFIGURATION_DEBUG=1", - "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.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - C111880AD1AF33A8252678511E592D53 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B656FF0E40BAE031EABCBC4F0542CB8F /* Pods-SteviaPod_Tests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -745,67 +793,32 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-SteviaPod_Tests/Pods-SteviaPod_Tests-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/SteviaPod/SteviaPod-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SteviaPod/SteviaPod-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SteviaPod_Tests/Pods-SteviaPod_Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + MODULEMAP_FILE = "Target Support Files/SteviaPod/SteviaPod.modulemap"; + PRODUCT_MODULE_NAME = SteviaPod; + PRODUCT_NAME = SteviaPod; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - EA3043DBCD7409CBD80BCA85724DC62C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 90AAE4248627349A9882E1D935BAD5B4 /* Pods-SteviaPod_Example.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-SteviaPod_Example/Pods-SteviaPod_Example-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SteviaPod_Example/Pods-SteviaPod_Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 1CFEE932159EB423F2780BC060185A8A /* Build configuration list for PBXNativeTarget "Pods-SteviaPod_Example" */ = { isa = XCConfigurationList; buildConfigurations = ( - 252D07435A86909ECEEDB159C2402DCE /* Debug */, - EA3043DBCD7409CBD80BCA85724DC62C /* Release */, + 357D13C07D8B3CCF3495375193604173 /* Debug */, + E24B84163EABD71343E792314D47FA49 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -813,8 +826,8 @@ 32D317E0C25AAF1806A29D527639CD5E /* Build configuration list for PBXNativeTarget "Pods-SteviaPod_Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( - C111880AD1AF33A8252678511E592D53 /* Debug */, - 72CD68B0197242A9F586F7ABFD976C5D /* Release */, + 52F6CCE15DA989AF4D51881CEE686CD8 /* Debug */, + 32D4CA1649B0FB3A43410DE2200D2F47 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -822,8 +835,8 @@ 4565D9E19FEAE47F5BFBD3F4F98B4544 /* Build configuration list for PBXNativeTarget "SteviaPod" */ = { isa = XCConfigurationList; buildConfigurations = ( - 05DA1E02F756B64B768C8C26A3C5A4F3 /* Debug */, - 1541D562B64FD1DF473EDD114267F6C2 /* Release */, + F7CED3EE54F23BC3CD5F4361E49AE670 /* Debug */, + 1765305AA233AC03FE7C0AAFF32C9900 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -831,8 +844,8 @@ 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, - B0087CB4594321EF41619F3181FE120E /* Release */, + 131356BE54884448CA49C07BEDF4BB2A /* Debug */, + F090CD07A80273D5A73C8EA19224ADDB /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Example/SteviaPod.xcodeproj/project.pbxproj b/Example/SteviaPod.xcodeproj/project.pbxproj index 3c64278..fddb56d 100644 --- a/Example/SteviaPod.xcodeproj/project.pbxproj +++ b/Example/SteviaPod.xcodeproj/project.pbxproj @@ -173,7 +173,7 @@ 607FACCC1AFB9204008FA782 /* Sources */, 607FACCD1AFB9204008FA782 /* Frameworks */, 607FACCE1AFB9204008FA782 /* Resources */, - 11A4DA62C64B4CE2C777E01F /* [CP] Embed Pods Frameworks */, + 1EF49CEA14FD3D4040E1C4B8 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -265,7 +265,7 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 11A4DA62C64B4CE2C777E01F /* [CP] Embed Pods Frameworks */ = { + 1EF49CEA14FD3D4040E1C4B8 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -423,7 +423,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -469,7 +469,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/SteviaPod.podspec b/SteviaPod.podspec index 5769a16..7d6e447 100644 --- a/SteviaPod.podspec +++ b/SteviaPod.podspec @@ -37,4 +37,5 @@ Pod::Spec.new do |s| # s.public_header_files = 'Pod/Classes/**/*.h' # s.frameworks = 'UIKit', 'MapKit' # s.dependency 'AFNetworking', '~> 2.3' + s.swift_version = "5.0" end diff --git a/SteviaPod/Classes/Stevia+Hierarchy.swift b/SteviaPod/Classes/Stevia+Hierarchy.swift index 167ea1f..ab9e8f4 100644 --- a/SteviaPod/Classes/Stevia+Hierarchy.swift +++ b/SteviaPod/Classes/Stevia+Hierarchy.swift @@ -305,7 +305,6 @@ public extension UICollectionViewCell { } -@available(iOS 9.0, *) public extension UIStackView { @discardableResult diff --git a/SteviaPod/Classes/Stevia+LayoutAnchors.swift b/SteviaPod/Classes/Stevia+LayoutAnchors.swift index 8bd0aa0..c5d4f5e 100644 --- a/SteviaPod/Classes/Stevia+LayoutAnchors.swift +++ b/SteviaPod/Classes/Stevia+LayoutAnchors.swift @@ -9,7 +9,7 @@ #if canImport(UIKit) import UIKit -@available(iOS 9.0, *) + public struct SteviaLayoutYAxisAnchor { let anchor: NSLayoutYAxisAnchor let constant: Double @@ -20,7 +20,7 @@ public struct SteviaLayoutYAxisAnchor { } } -@available(iOS 9.0, *) + public struct SteviaLayoutXAxisAnchor { let anchor: NSLayoutXAxisAnchor let constant: Double @@ -31,7 +31,7 @@ public struct SteviaLayoutXAxisAnchor { } } -@available(iOS 9.0, *) + public extension UILayoutGuide { var Top: SteviaLayoutYAxisAnchor { @@ -67,7 +67,7 @@ public extension UILayoutGuide { } } -@available(iOS 9.0, *) + @discardableResult public func == (left: SteviaAttribute, right: SteviaLayoutYAxisAnchor) -> NSLayoutConstraint { @@ -89,7 +89,7 @@ public func == (left: SteviaAttribute, right: SteviaLayoutYAxisAnchor) -> NSLayo return constraint } -@available(iOS 9.0, *) + @discardableResult public func == (left: SteviaAttribute, right: SteviaLayoutXAxisAnchor) -> NSLayoutConstraint { @@ -121,25 +121,25 @@ public func == (left: SteviaAttribute, right: SteviaLayoutXAxisAnchor) -> NSLayo // SteviaLayoutYAxisAnchor -@available(iOS 9.0, *) + @discardableResult public func + (left: SteviaLayoutYAxisAnchor, right: Double) -> SteviaLayoutYAxisAnchor { return SteviaLayoutYAxisAnchor(anchor: left.anchor, constant: right) } -@available(iOS 9.0, *) + @discardableResult public func - (left: SteviaLayoutYAxisAnchor, right: Double) -> SteviaLayoutYAxisAnchor { return SteviaLayoutYAxisAnchor(anchor: left.anchor, constant: -right) } -@available(iOS 9.0, *) + @discardableResult public func + (left: SteviaLayoutXAxisAnchor, right: Double) -> SteviaLayoutXAxisAnchor { return SteviaLayoutXAxisAnchor(anchor: left.anchor, constant: right) } -@available(iOS 9.0, *) + @discardableResult public func - (left: SteviaLayoutXAxisAnchor, right: Double) -> SteviaLayoutXAxisAnchor { return SteviaLayoutXAxisAnchor(anchor: left.anchor, constant: -right) @@ -147,7 +147,6 @@ public func - (left: SteviaLayoutXAxisAnchor, right: Double) -> SteviaLayoutXAxi // UILayoutSupport -@available(iOS 9.0, *) public extension UILayoutSupport { var Top: SteviaLayoutYAxisAnchor { diff --git a/SteviaPod/Classes/Stevia+Operators.swift b/SteviaPod/Classes/Stevia+Operators.swift index e392c1b..3ecc5e7 100644 --- a/SteviaPod/Classes/Stevia+Operators.swift +++ b/SteviaPod/Classes/Stevia+Operators.swift @@ -42,7 +42,6 @@ public func ~ (left: UIView, right: Int) -> UIView { left ~ Double(right) } -@available(iOS 9.0, *) @discardableResult public func ~ (left: UIView, right: SteviaPercentage) -> UIView { left.height(right) diff --git a/SteviaPod/Classes/Stevia+Percentage.swift b/SteviaPod/Classes/Stevia+Percentage.swift index 137a307..fa0d153 100644 --- a/SteviaPod/Classes/Stevia+Percentage.swift +++ b/SteviaPod/Classes/Stevia+Percentage.swift @@ -26,7 +26,6 @@ public postfix func % (v: Int) -> SteviaPercentage { Double(v)% } -@available(iOS 9.0, *) public extension UIView { /** diff --git a/SteviaPod/Classes/Stevia+Stacks.swift b/SteviaPod/Classes/Stevia+Stacks.swift index 55aac52..f9ed2ad 100644 --- a/SteviaPod/Classes/Stevia+Stacks.swift +++ b/SteviaPod/Classes/Stevia+Stacks.swift @@ -41,7 +41,7 @@ public struct FlexibleSpace { } } -@available(iOS 9.0, *) + public extension UIView { @discardableResult func layout(@SteviaLayoutBuilder content: () -> [SteviaLayoutItem]) -> UIView { @@ -52,7 +52,7 @@ public extension UIView { } } -@available(iOS 9.0, *) + public extension UIView { /**