diff --git a/.swift-version b/.swift-version index 9f55b2c..5186d07 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -3.0 +4.0 diff --git a/Demo/ModernSearchBar.xcodeproj/project.pbxproj b/Demo/ModernSearchBar.xcodeproj/project.pbxproj new file mode 100644 index 0000000..85de61e --- /dev/null +++ b/Demo/ModernSearchBar.xcodeproj/project.pbxproj @@ -0,0 +1,349 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 3716D6FC1F861A4100E78F74 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D6FB1F861A4100E78F74 /* AppDelegate.swift */; }; + 3716D6FE1F861A4100E78F74 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D6FD1F861A4100E78F74 /* ViewController.swift */; }; + 3716D7011F861A4100E78F74 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3716D6FF1F861A4100E78F74 /* Main.storyboard */; }; + 3716D7031F861A4100E78F74 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3716D7021F861A4100E78F74 /* Assets.xcassets */; }; + 3716D7061F861A4100E78F74 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3716D7041F861A4100E78F74 /* LaunchScreen.storyboard */; }; + 3716D7121F861AF800E78F74 /* ModernSearchBarDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D70D1F861AF700E78F74 /* ModernSearchBarDelegate.swift */; }; + 3716D7131F861AF800E78F74 /* ModernSearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D70E1F861AF700E78F74 /* ModernSearchBar.swift */; }; + 3716D7141F861AF800E78F74 /* ModernSearchBarIcon.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D70F1F861AF700E78F74 /* ModernSearchBarIcon.swift */; }; + 3716D7151F861AF800E78F74 /* ModernSearchBarModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D7101F861AF700E78F74 /* ModernSearchBarModel.swift */; }; + 3716D7161F861AF800E78F74 /* ModernSearchBarCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3716D7111F861AF800E78F74 /* ModernSearchBarCell.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 3716D6F81F861A4100E78F74 /* ModernSearchBar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ModernSearchBar.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3716D6FB1F861A4100E78F74 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 3716D6FD1F861A4100E78F74 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 3716D7001F861A4100E78F74 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 3716D7021F861A4100E78F74 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3716D7051F861A4100E78F74 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 3716D7071F861A4100E78F74 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3716D70D1F861AF700E78F74 /* ModernSearchBarDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModernSearchBarDelegate.swift; sourceTree = ""; }; + 3716D70E1F861AF700E78F74 /* ModernSearchBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModernSearchBar.swift; sourceTree = ""; }; + 3716D70F1F861AF700E78F74 /* ModernSearchBarIcon.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModernSearchBarIcon.swift; sourceTree = ""; }; + 3716D7101F861AF700E78F74 /* ModernSearchBarModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModernSearchBarModel.swift; sourceTree = ""; }; + 3716D7111F861AF800E78F74 /* ModernSearchBarCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModernSearchBarCell.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3716D6F51F861A4100E78F74 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3716D6EF1F861A4100E78F74 = { + isa = PBXGroup; + children = ( + 3716D6FA1F861A4100E78F74 /* ModernSearchBar */, + 3716D6F91F861A4100E78F74 /* Products */, + ); + sourceTree = ""; + }; + 3716D6F91F861A4100E78F74 /* Products */ = { + isa = PBXGroup; + children = ( + 3716D6F81F861A4100E78F74 /* ModernSearchBar.app */, + ); + name = Products; + sourceTree = ""; + }; + 3716D6FA1F861A4100E78F74 /* ModernSearchBar */ = { + isa = PBXGroup; + children = ( + 3716D70E1F861AF700E78F74 /* ModernSearchBar.swift */, + 3716D7111F861AF800E78F74 /* ModernSearchBarCell.swift */, + 3716D70D1F861AF700E78F74 /* ModernSearchBarDelegate.swift */, + 3716D70F1F861AF700E78F74 /* ModernSearchBarIcon.swift */, + 3716D7101F861AF700E78F74 /* ModernSearchBarModel.swift */, + 3716D6FB1F861A4100E78F74 /* AppDelegate.swift */, + 3716D6FD1F861A4100E78F74 /* ViewController.swift */, + 3716D6FF1F861A4100E78F74 /* Main.storyboard */, + 3716D7021F861A4100E78F74 /* Assets.xcassets */, + 3716D7041F861A4100E78F74 /* LaunchScreen.storyboard */, + 3716D7071F861A4100E78F74 /* Info.plist */, + ); + path = ModernSearchBar; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3716D6F71F861A4100E78F74 /* ModernSearchBar */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3716D70A1F861A4100E78F74 /* Build configuration list for PBXNativeTarget "ModernSearchBar" */; + buildPhases = ( + 3716D6F41F861A4100E78F74 /* Sources */, + 3716D6F51F861A4100E78F74 /* Frameworks */, + 3716D6F61F861A4100E78F74 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ModernSearchBar; + productName = ModernSearchBar; + productReference = 3716D6F81F861A4100E78F74 /* ModernSearchBar.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3716D6F01F861A4100E78F74 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0900; + LastUpgradeCheck = 0900; + ORGANIZATIONNAME = CookMinute; + TargetAttributes = { + 3716D6F71F861A4100E78F74 = { + CreatedOnToolsVersion = 9.0; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 3716D6F31F861A4100E78F74 /* Build configuration list for PBXProject "ModernSearchBar" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3716D6EF1F861A4100E78F74; + productRefGroup = 3716D6F91F861A4100E78F74 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3716D6F71F861A4100E78F74 /* ModernSearchBar */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3716D6F61F861A4100E78F74 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3716D7061F861A4100E78F74 /* LaunchScreen.storyboard in Resources */, + 3716D7031F861A4100E78F74 /* Assets.xcassets in Resources */, + 3716D7011F861A4100E78F74 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3716D6F41F861A4100E78F74 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3716D7151F861AF800E78F74 /* ModernSearchBarModel.swift in Sources */, + 3716D7161F861AF800E78F74 /* ModernSearchBarCell.swift in Sources */, + 3716D7131F861AF800E78F74 /* ModernSearchBar.swift in Sources */, + 3716D6FE1F861A4100E78F74 /* ViewController.swift in Sources */, + 3716D7121F861AF800E78F74 /* ModernSearchBarDelegate.swift in Sources */, + 3716D6FC1F861A4100E78F74 /* AppDelegate.swift in Sources */, + 3716D7141F861AF800E78F74 /* ModernSearchBarIcon.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 3716D6FF1F861A4100E78F74 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3716D7001F861A4100E78F74 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 3716D7041F861A4100E78F74 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3716D7051F861A4100E78F74 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 3716D7081F861A4100E78F74 /* 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = 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_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.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 3716D7091F861A4100E78F74 /* 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = 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_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.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 3716D70B1F861A4100E78F74 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3BBX8TF58T; + INFOPLIST_FILE = ModernSearchBar/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.cookminute.ModernSearchBar; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 3716D70C1F861A4100E78F74 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3BBX8TF58T; + INFOPLIST_FILE = ModernSearchBar/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.cookminute.ModernSearchBar; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3716D6F31F861A4100E78F74 /* Build configuration list for PBXProject "ModernSearchBar" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3716D7081F861A4100E78F74 /* Debug */, + 3716D7091F861A4100E78F74 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3716D70A1F861A4100E78F74 /* Build configuration list for PBXNativeTarget "ModernSearchBar" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3716D70B1F861A4100E78F74 /* Debug */, + 3716D70C1F861A4100E78F74 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3716D6F01F861A4100E78F74 /* Project object */; +} diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Demo/ModernSearchBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 65% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Demo/ModernSearchBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata index edf4594..5f4dc9f 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Demo/ModernSearchBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:ModernSearchBar.xcodeproj"> diff --git a/Demo/ModernSearchBar.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate b/Demo/ModernSearchBar.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..df80fef Binary files /dev/null and b/Demo/ModernSearchBar.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist b/Demo/ModernSearchBar.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 60% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist rename to Demo/ModernSearchBar.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist index ee7ba69..0e00be6 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Demo/ModernSearchBar.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,19 +4,11 @@ SchemeUserState - ModernSearchBar-Sample.xcscheme + ModernSearchBar.xcscheme orderHint 0 - SuppressBuildableAutocreation - - 37877BF81E6EA9300043C563 - - primary - - - diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/AppDelegate.swift b/Demo/ModernSearchBar/AppDelegate.swift similarity index 96% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/AppDelegate.swift rename to Demo/ModernSearchBar/AppDelegate.swift index f92eab3..4fd21e7 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/AppDelegate.swift +++ b/Demo/ModernSearchBar/AppDelegate.swift @@ -1,8 +1,8 @@ // // AppDelegate.swift -// ModernSearchBar-Sample +// ModernSearchBar // -// Created by Philippe on 07/03/2017. +// Created by Philippe on 05/10/2017. // Copyright © 2017 CookMinute. All rights reserved. // diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Assets.xcassets/AppIcon.appiconset/Contents.json b/Demo/ModernSearchBar/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 71% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Demo/ModernSearchBar/Assets.xcassets/AppIcon.appiconset/Contents.json index 36d2c80..1d060ed 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Demo/ModernSearchBar/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", @@ -30,6 +40,16 @@ "size" : "60x60", "scale" : "3x" }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, { "idiom" : "ipad", "size" : "29x29", @@ -59,6 +79,11 @@ "idiom" : "ipad", "size" : "76x76", "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" } ], "info" : { diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Base.lproj/LaunchScreen.storyboard b/Demo/ModernSearchBar/Base.lproj/LaunchScreen.storyboard similarity index 70% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Base.lproj/LaunchScreen.storyboard rename to Demo/ModernSearchBar/Base.lproj/LaunchScreen.storyboard index fdf3f97..f83f6fd 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Base.lproj/LaunchScreen.storyboard +++ b/Demo/ModernSearchBar/Base.lproj/LaunchScreen.storyboard @@ -1,7 +1,8 @@ - + - + + @@ -9,14 +10,11 @@ - - - - + diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Base.lproj/Main.storyboard b/Demo/ModernSearchBar/Base.lproj/Main.storyboard similarity index 62% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Base.lproj/Main.storyboard rename to Demo/ModernSearchBar/Base.lproj/Main.storyboard index bf5750e..6486cc2 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Base.lproj/Main.storyboard +++ b/Demo/ModernSearchBar/Base.lproj/Main.storyboard @@ -1,48 +1,54 @@ - + - - + + + + + Avenir-Black + Avenir-Light + + - + - + - - + + - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + - + - + diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Info.plist b/Demo/ModernSearchBar/Info.plist similarity index 97% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Info.plist rename to Demo/ModernSearchBar/Info.plist index d052473..16be3b6 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/Info.plist +++ b/Demo/ModernSearchBar/Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBar.swift b/Demo/ModernSearchBar/ModernSearchBar.swift similarity index 73% rename from Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBar.swift rename to Demo/ModernSearchBar/ModernSearchBar.swift index d54789e..6b092dd 100644 --- a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBar.swift +++ b/Demo/ModernSearchBar/ModernSearchBar.swift @@ -27,6 +27,8 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS private var choice: Choice = .normal + private var keyboardHeight: CGFloat = 0 + //MARKS: VIEWS private var suggestionsView: UITableView! private var suggestionsShadow: UIView! @@ -43,16 +45,19 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS public var searchLabel_textColor: UIColor? public var searchLabel_backgroundColor: UIColor? - public var suggestionsView_maxHeight: CGFloat = UIScreen.main.bounds.height.divided(by: 2.5) + public var suggestionsView_maxHeight: CGFloat! public var suggestionsView_backgroundColor: UIColor? public var suggestionsView_contentViewColor: UIColor? public var suggestionsView_separatorStyle: UITableViewCellSeparatorStyle = .none public var suggestionsView_selectionStyle: UITableViewCellSelectionStyle = UITableViewCellSelectionStyle.none + public var suggestionsView_verticalSpaceWithSearchBar: CGFloat = 3 public var suggestionsView_searchIcon_height: CGFloat = 17 public var suggestionsView_searchIcon_width: CGFloat = 17 public var suggestionsView_searchIcon_isRound = true + public var suggestionsView_spaceWithKeyboard:CGFloat = 3 + //MARK: INITIALISERS required public init(coder aDecoder: NSCoder) { @@ -70,11 +75,12 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS setup() } - private func setup(){ self.delegate = self self.isSuggestionsViewOpened = false self.interceptOrientationChange() + self.interceptKeyboardChange() + self.interceptMemoryWarning() } private func configureViews(){ @@ -126,12 +132,7 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS // -------------------------------- public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) { - if searchText.isEmpty { - self.closeSuggestionsView() - } else { - self.searchWhenUserTyping(caracters: searchText) - self.openSuggestionsView() - } + self.searchWhenUserTyping(caracters: searchText) self.delegateModernSearchBar?.searchBar?(searchBar, textDidChange: searchText) } @@ -157,19 +158,35 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS self.endEditing(true) } + public func searchBarShouldEndEditing(_ searchBar: UISearchBar) -> Bool { + if let shouldEndEditing = self.delegateModernSearchBar?.searchBarShouldEndEditing?(searchBar) { + return shouldEndEditing + } else { + return true + } + } + + public func searchBarShouldBeginEditing(_ searchBar: UISearchBar) -> Bool { + if let shouldBeginEditing = self.delegateModernSearchBar?.searchBarShouldBeginEditing?(searchBar) { + return shouldBeginEditing + } else { + return true + } + } + // -------------------------------- // ACTIONS // -------------------------------- ///Handle click on shadow view - func onClickShadowView(_ sender:UITapGestureRecognizer){ + @objc func onClickShadowView(_ sender:UITapGestureRecognizer){ self.delegateModernSearchBar?.onClickShadowView?(shadowView: self.suggestionsShadow) self.closeSuggestionsView() } ///Remove focus when you tap outside the searchbar - func removeFocus(_ sender:UITapGestureRecognizer){ + @objc func removeFocus(_ sender:UITapGestureRecognizer){ if (!isSuggestionsViewOpened){ self.endEditing(true) } } @@ -256,7 +273,7 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS DispatchQueue.main.async { self.suggestionListFiltred.removeAll() self.suggestionListFiltred.append(contentsOf: suggestionListFiltredTmp) - self.updateAfterSearch() + self.updateAfterSearch(caracters: caracters) } } @@ -275,7 +292,7 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS DispatchQueue.main.async { self.suggestionListWithUrlFiltred.removeAll() self.suggestionListWithUrlFiltred.append(contentsOf: suggestionListFiltredWithUrlTmp) - self.updateAfterSearch() + self.updateAfterSearch(caracters: caracters) } } @@ -287,27 +304,40 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS return ((stringQueried.range(of: stringSearched, options: String.CompareOptions.caseInsensitive, range: nil, locale: nil)) != nil) } - private func updateAfterSearch(){ + private func updateAfterSearch(caracters: String){ self.suggestionsView.reloadData() self.updateSizeSuggestionsView() + caracters.isEmpty ? self.closeSuggestionsView() : self.openSuggestionsView() } // -------------------------------- // SUGGESTIONS VIEW UTILS // -------------------------------- + private func haveToOpenSuggestionView() -> Bool { + switch self.choice { + case .normal: + return !self.suggestionListFiltred.isEmpty + case .withUrl: + return !self.suggestionListWithUrlFiltred.isEmpty + } + } + private func openSuggestionsView(){ - if (!self.isSuggestionsViewOpened){ - self.animationOpening() - - self.addViewToParent(view: self.suggestionsShadow) - self.addViewToParent(view: self.suggestionsView) - self.isSuggestionsViewOpened = true + if (self.haveToOpenSuggestionView()){ + if (!self.isSuggestionsViewOpened){ + self.animationOpening() + + self.addViewToParent(view: self.suggestionsShadow) + self.addViewToParent(view: self.suggestionsView) + self.isSuggestionsViewOpened = true + self.suggestionsView.reloadData() + } } } private func closeSuggestionsView(){ - if (self.isSuggestionsViewOpened){ + if (self.isSuggestionsViewOpened == true){ self.animationClosing() self.isSuggestionsViewOpened = false } @@ -324,10 +354,7 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS UIView.animate(withDuration: 0.3, delay: 0.0, options: [], animations: { self.suggestionsView.alpha = 0.0 self.suggestionsShadow.alpha = 0.0 - }, completion: { (finished) -> Void in - self.suggestionsView.removeFromSuperview() - self.suggestionsShadow.removeFromSuperview() - }) + }, completion: nil) } // -------------------------------- @@ -335,11 +362,11 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS // -------------------------------- private func getSuggestionsViewX() -> CGFloat { - return self.getEditText().frame.origin.x + return self.getGlobalPointEditText().x } private func getSuggestionsViewY() -> CGFloat { - return self.frame.origin.y.adding(self.getEditText().frame.height).adding((self.frame.height.subtracting(self.getEditText().frame.height)).divided(by: 2)).subtracting(4) + return self.getShadowY() - self.suggestionsView_verticalSpaceWithSearchBar } private func getSuggestionsViewWidth() -> CGFloat { @@ -351,11 +378,11 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } private func getShadowX() -> CGFloat { - return self.frame.origin.x + return 0 } private func getShadowY() -> CGFloat { - return self.frame.origin.y.adding(self.frame.height) + return self.getGlobalPointEditText().y + self.getEditText().frame.height } private func getShadowHeight() -> CGFloat { @@ -363,31 +390,58 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } private func getShadowWidth() -> CGFloat { - return self.frame.width + return (self.getTopViewController()?.view.frame.width)! } private func updateSizeSuggestionsView(){ var frame: CGRect = self.suggestionsView.frame - frame.size.height = self.getMaxHeightSuggestionsView(newHeight: self.suggestionsView.contentSize.height) - self.suggestionsView.frame = frame - UIView.animate(withDuration: 0.0) { + frame.size.height = self.getExactMaxHeightSuggestionsView(newHeight: self.suggestionsView.contentSize.height) + + UIView.animate(withDuration: 0.3) { + self.suggestionsView.frame = frame self.suggestionsView.layoutIfNeeded() self.suggestionsView.sizeToFit() } } - private func getMaxHeightSuggestionsView(newHeight: CGFloat) -> CGFloat { - if (newHeight > self.suggestionsView_maxHeight) { - return self.suggestionsView_maxHeight + private func getExactMaxHeightSuggestionsView(newHeight: CGFloat) -> CGFloat { + var estimatedMaxView: CGFloat! + if self.suggestionsView_maxHeight != nil { + estimatedMaxView = self.suggestionsView_maxHeight + } else { + estimatedMaxView = self.getEstimateHeightSuggestionsView() + } + + if (newHeight > estimatedMaxView) { + return estimatedMaxView } else { return newHeight } } + private func getEstimateHeightSuggestionsView() -> CGFloat { + return self.getViewTopController().frame.height + - self.getShadowY() + - self.keyboardHeight + - self.suggestionsView_spaceWithKeyboard + } + // -------------------------------- // UTILS // -------------------------------- + private func clearCacheOfList(){ + ///Clearing cache + for suggestionItem in self.suggestionListWithUrl { + suggestionItem.imgCache = nil + } + ///Clearing cache + for suggestionItem in self.suggestionListWithUrlFiltred { + suggestionItem.imgCache = nil + } + self.suggestionsView.reloadData() + } + private func addViewToParent(view: UIView){ if let topController = getTopViewController() { let superView: UIView = topController.view @@ -395,6 +449,10 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } } + private func getViewTopController() -> UIView{ + return self.getTopViewController()!.view + } + private func getTopViewController() -> UIViewController? { var topController: UIViewController? = UIApplication.shared.keyWindow?.rootViewController while topController?.presentedViewController != nil { @@ -415,6 +473,14 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } } + private func getGlobalPointEditText() -> CGPoint { + return self.getEditText().superview!.convert(self.getEditText().frame.origin, to: nil) + } + + // -------------------------------- + // OBSERVERS CHANGES + // -------------------------------- + private func interceptOrientationChange(){ self.getEditText().addObserver(self, forKeyPath: "frame", options: NSKeyValueObservingOptions(rawValue: 0), context: nil) } @@ -426,6 +492,37 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } } + // --------------- + + private func interceptKeyboardChange(){ + NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow(notification:)), name: NSNotification.Name.UIKeyboardWillShow, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillHide(notification:)), name: NSNotification.Name.UIKeyboardWillHide, object: nil) + } + + @objc private func keyboardWillShow(notification: NSNotification) { + let userInfo = notification.userInfo as! [String: NSObject] as NSDictionary + let keyboardFrame = userInfo.value(forKey: UIKeyboardFrameEndUserInfoKey) as! CGRect + let keyboardHeight = keyboardFrame.height + + self.keyboardHeight = keyboardHeight + self.updateSizeSuggestionsView() + } + + @objc private func keyboardWillHide(notification: NSNotification) { + self.keyboardHeight = 0 + self.updateSizeSuggestionsView() + } + + // --------------- + + private func interceptMemoryWarning(){ + NotificationCenter.default.addObserver(self, selector: #selector(didReceiveMemoryWarning(notification:)), name: NSNotification.Name.UIApplicationDidReceiveMemoryWarning, object: nil) + } + + @objc private func didReceiveMemoryWarning(notification: NSNotification) { + self.clearCacheOfList() + } + // -------------------------------- // PUBLIC ACCESS // -------------------------------- @@ -433,4 +530,5 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS public func getSuggestionsView() -> UITableView { return self.suggestionsView } + } diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarCell.swift b/Demo/ModernSearchBar/ModernSearchBarCell.swift similarity index 90% rename from Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarCell.swift rename to Demo/ModernSearchBar/ModernSearchBarCell.swift index 06768e0..b87a7d7 100644 --- a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarCell.swift +++ b/Demo/ModernSearchBar/ModernSearchBarCell.swift @@ -32,7 +32,7 @@ public class ModernSearchBarCell: UITableViewCell { private func setup(){ ///Setup image self.imgModernSearchBar.translatesAutoresizingMaskIntoConstraints = false - self.imgModernSearchBar.contentMode = .scaleAspectFit + self.imgModernSearchBar.contentMode = .scaleAspectFill ///Setup label self.labelModelSearchBar.translatesAutoresizingMaskIntoConstraints = false @@ -49,27 +49,27 @@ public class ModernSearchBarCell: UITableViewCell { ///Image constraints let verticalImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.centerYWithinMargins, relatedBy: .equal, toItem: self.contentView, attribute: .centerYWithinMargins, multiplier: 1.0, constant: 0) let topImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.top, relatedBy: .greaterThanOrEqual, toItem: self.contentView, attribute: .top, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - topImageConstraint.priority = UILayoutPriorityDefaultLow + topImageConstraint.priority = UILayoutPriority.defaultLow let bottomImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.bottom, relatedBy: .lessThanOrEqual, toItem: self.contentView, attribute: .bottom, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - bottomImageConstraint.priority = UILayoutPriorityDefaultLow + bottomImageConstraint.priority = UILayoutPriority.defaultLow let leftImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.left, relatedBy: .equal, toItem: self.contentView, attribute: .left, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - leftImageConstraint.priority = UILayoutPriorityDefaultHigh + leftImageConstraint.priority = UILayoutPriority.defaultLow let heightImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: heightImage) let widthImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: widthImage) ///Label constraints let topLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.top, relatedBy: .greaterThanOrEqual, toItem: self.contentView, attribute: .top, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - topLabelConstraint.priority = UILayoutPriorityDefaultHigh + topLabelConstraint.priority = UILayoutPriority.defaultLow let bottomLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.bottom, relatedBy: .lessThanOrEqual, toItem: self.contentView, attribute: .bottom, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - bottomLabelConstraint.priority = UILayoutPriorityDefaultHigh + bottomLabelConstraint.priority = UILayoutPriority.defaultLow let verticalLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.centerYWithinMargins, relatedBy: .equal, toItem: self.contentView, attribute: .centerYWithinMargins, multiplier: 1.0, constant: 0) let leftLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.left, relatedBy: .equal, toItem: self.imgModernSearchBar, attribute: .right, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - leftLabelConstraint.priority = UILayoutPriorityDefaultHigh + leftLabelConstraint.priority = UILayoutPriority.defaultLow let leftLabelConstraintIfImageNil = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.left, relatedBy: .equal, toItem: self.contentView, attribute: .left, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - leftLabelConstraintIfImageNil.priority = UILayoutPriorityDefaultLow + leftLabelConstraintIfImageNil.priority = UILayoutPriority.defaultLow let rightLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.right, relatedBy: .equal, toItem: self.contentView, attribute: .right, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - rightLabelConstraint.priority = UILayoutPriorityDefaultLow + rightLabelConstraint.priority = UILayoutPriority.defaultLow NSLayoutConstraint.activate([verticalImageConstraint, topImageConstraint, bottomImageConstraint, leftImageConstraint,heightImageConstraint, widthImageConstraint, @@ -95,7 +95,7 @@ public class ModernSearchBarCell: UITableViewCell { } if (isImageRound){ - self.imgModernSearchBar.layer.cornerRadius = heightImage.divided(by: 2) + self.imgModernSearchBar.layer.cornerRadius = heightImage / 2 self.imgModernSearchBar.clipsToBounds = true } } @@ -103,8 +103,8 @@ public class ModernSearchBarCell: UITableViewCell { ///Otherwise constaint on label doesn't works... public func configureWidthMaxLabel(suggestionsViewWidth: CGFloat, searchImageWidth: CGFloat) { var widthMax: CGFloat = suggestionsViewWidth - widthMax.subtract(ModernSearchBarCell.defaultMargin.multiplied(by: 3)) - widthMax.subtract(searchImageWidth) + widthMax = widthMax - (ModernSearchBarCell.defaultMargin * 3) + widthMax = widthMax - searchImageWidth self.labelModelSearchBar.preferredMaxLayoutWidth = widthMax } diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarDelegate.swift b/Demo/ModernSearchBar/ModernSearchBarDelegate.swift similarity index 100% rename from Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarDelegate.swift rename to Demo/ModernSearchBar/ModernSearchBarDelegate.swift diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarIcon.swift b/Demo/ModernSearchBar/ModernSearchBarIcon.swift similarity index 100% rename from Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarIcon.swift rename to Demo/ModernSearchBar/ModernSearchBarIcon.swift diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarModel.swift b/Demo/ModernSearchBar/ModernSearchBarModel.swift similarity index 100% rename from Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes/ModernSearchBarModel.swift rename to Demo/ModernSearchBar/ModernSearchBarModel.swift diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/ViewController.swift b/Demo/ModernSearchBar/ViewController.swift similarity index 75% rename from Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/ViewController.swift rename to Demo/ModernSearchBar/ViewController.swift index 78cb806..2ccf855 100644 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample/ViewController.swift +++ b/Demo/ModernSearchBar/ViewController.swift @@ -1,13 +1,12 @@ // // ViewController.swift -// ModernSearchBar-Sample +// ModernSearchBar // -// Created by Philippe on 07/03/2017. +// Created by Philippe on 05/10/2017. // Copyright © 2017 CookMinute. All rights reserved. // import UIKit -import ModernSearchBar class ViewController: UIViewController, ModernSearchBarDelegate { @@ -19,11 +18,11 @@ class ViewController: UIViewController, ModernSearchBarDelegate { self.makingSearchBarAwesome() ///Uncomment this one... - self.configureSearchBar() + //self.configureSearchBar() ///... or uncomment this one ! (but you can't uncomment both) - //self.configureSearchBarWithUrl() + self.configureSearchBarWithUrl() } - + override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } @@ -125,32 +124,32 @@ class ViewController: UIViewController, ModernSearchBarDelegate { // -------------------------- - //Modify shadows alpha - self.modernSearchBar.shadowView_alpha = 0.8 - - //Modify the default icon of suggestionsView's rows - self.modernSearchBar.searchImage = ModernSearchBarIcon.Icon.none.image - - //Modify properties of the searchLabel - self.modernSearchBar.searchLabel_font = UIFont(name: "Avenir-Light", size: 30) - self.modernSearchBar.searchLabel_textColor = UIColor.red - self.modernSearchBar.searchLabel_backgroundColor = UIColor.black - - //Modify properties of the searchIcon - self.modernSearchBar.suggestionsView_searchIcon_height = 40 - self.modernSearchBar.suggestionsView_searchIcon_width = 40 - self.modernSearchBar.suggestionsView_searchIcon_isRound = false - - //Modify properties of suggestionsView - ///Modify the max height of the suggestionsView - self.modernSearchBar.suggestionsView_maxHeight = 1000 - ///Modify properties of the suggestionsView - self.modernSearchBar.suggestionsView_backgroundColor = UIColor.brown - self.modernSearchBar.suggestionsView_contentViewColor = UIColor.yellow - self.modernSearchBar.suggestionsView_separatorStyle = .singleLine - self.modernSearchBar.suggestionsView_selectionStyle = UITableViewCellSelectionStyle.gray - self.modernSearchBar.suggestionsView_verticalSpaceWithSearchBar = 10 - self.modernSearchBar.suggestionsView_spaceWithKeyboard = 20 + //Modify shadows alpha + self.modernSearchBar.shadowView_alpha = 0.8 + + //Modify the default icon of suggestionsView's rows + self.modernSearchBar.searchImage = ModernSearchBarIcon.Icon.none.image + + //Modify properties of the searchLabel + self.modernSearchBar.searchLabel_font = UIFont(name: "Avenir-Light", size: 30) + self.modernSearchBar.searchLabel_textColor = UIColor.red + self.modernSearchBar.searchLabel_backgroundColor = UIColor.black + + //Modify properties of the searchIcon + self.modernSearchBar.suggestionsView_searchIcon_height = 40 + self.modernSearchBar.suggestionsView_searchIcon_width = 40 + self.modernSearchBar.suggestionsView_searchIcon_isRound = false + + //Modify properties of suggestionsView + ///Modify the max height of the suggestionsView + self.modernSearchBar.suggestionsView_maxHeight = 1000 + ///Modify properties of the suggestionsView + self.modernSearchBar.suggestionsView_backgroundColor = UIColor.brown + self.modernSearchBar.suggestionsView_contentViewColor = UIColor.yellow + self.modernSearchBar.suggestionsView_separatorStyle = .singleLine + self.modernSearchBar.suggestionsView_selectionStyle = UITableViewCellSelectionStyle.gray + self.modernSearchBar.suggestionsView_verticalSpaceWithSearchBar = 10 + self.modernSearchBar.suggestionsView_spaceWithKeyboard = 20 } private func makingSearchBarAwesome(){ @@ -159,5 +158,6 @@ class ViewController: UIViewController, ModernSearchBarDelegate { self.modernSearchBar.layer.borderColor = UIColor(red: 181, green: 240, blue: 210, alpha: 1).cgColor } + } diff --git a/ModernSearchBar.podspec b/ModernSearchBar.podspec index 068e0ba..74689ae 100755 --- a/ModernSearchBar.podspec +++ b/ModernSearchBar.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "ModernSearchBar" -s.version = "1.4" +s.version = "1.5" s.summary = "ModernSearchBar" s.description = "The famous iOS search bar with auto completion feature implemented." s.homepage = "https://github.com/PhilippeBoisney/ModernSearchBar" diff --git a/Pod/Classes/ModernSearchBar.swift b/Pod/Classes/ModernSearchBar.swift index b6b0897..6b092dd 100644 --- a/Pod/Classes/ModernSearchBar.swift +++ b/Pod/Classes/ModernSearchBar.swift @@ -180,13 +180,13 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS // -------------------------------- ///Handle click on shadow view - func onClickShadowView(_ sender:UITapGestureRecognizer){ + @objc func onClickShadowView(_ sender:UITapGestureRecognizer){ self.delegateModernSearchBar?.onClickShadowView?(shadowView: self.suggestionsShadow) self.closeSuggestionsView() } ///Remove focus when you tap outside the searchbar - func removeFocus(_ sender:UITapGestureRecognizer){ + @objc func removeFocus(_ sender:UITapGestureRecognizer){ if (!isSuggestionsViewOpened){ self.endEditing(true) } } @@ -366,7 +366,7 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } private func getSuggestionsViewY() -> CGFloat { - return self.getShadowY().subtracting(self.suggestionsView_verticalSpaceWithSearchBar) + return self.getShadowY() - self.suggestionsView_verticalSpaceWithSearchBar } private func getSuggestionsViewWidth() -> CGFloat { @@ -382,7 +382,7 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS } private func getShadowY() -> CGFloat { - return self.getGlobalPointEditText().y.adding(self.getEditText().frame.height) + return self.getGlobalPointEditText().y + self.getEditText().frame.height } private func getShadowHeight() -> CGFloat { @@ -421,9 +421,9 @@ public class ModernSearchBar: UISearchBar, UISearchBarDelegate, UITableViewDataS private func getEstimateHeightSuggestionsView() -> CGFloat { return self.getViewTopController().frame.height - .subtracting(self.getShadowY()) - .subtracting(self.keyboardHeight) - .subtracting(self.suggestionsView_spaceWithKeyboard) + - self.getShadowY() + - self.keyboardHeight + - self.suggestionsView_spaceWithKeyboard } // -------------------------------- diff --git a/Pod/Classes/ModernSearchBarCell.swift b/Pod/Classes/ModernSearchBarCell.swift index 7b23758..b87a7d7 100644 --- a/Pod/Classes/ModernSearchBarCell.swift +++ b/Pod/Classes/ModernSearchBarCell.swift @@ -49,27 +49,27 @@ public class ModernSearchBarCell: UITableViewCell { ///Image constraints let verticalImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.centerYWithinMargins, relatedBy: .equal, toItem: self.contentView, attribute: .centerYWithinMargins, multiplier: 1.0, constant: 0) let topImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.top, relatedBy: .greaterThanOrEqual, toItem: self.contentView, attribute: .top, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - topImageConstraint.priority = UILayoutPriorityDefaultLow + topImageConstraint.priority = UILayoutPriority.defaultLow let bottomImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.bottom, relatedBy: .lessThanOrEqual, toItem: self.contentView, attribute: .bottom, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - bottomImageConstraint.priority = UILayoutPriorityDefaultLow + bottomImageConstraint.priority = UILayoutPriority.defaultLow let leftImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.left, relatedBy: .equal, toItem: self.contentView, attribute: .left, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - leftImageConstraint.priority = UILayoutPriorityDefaultHigh + leftImageConstraint.priority = UILayoutPriority.defaultLow let heightImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: heightImage) let widthImageConstraint = NSLayoutConstraint(item: self.imgModernSearchBar, attribute:.width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: widthImage) ///Label constraints let topLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.top, relatedBy: .greaterThanOrEqual, toItem: self.contentView, attribute: .top, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - topLabelConstraint.priority = UILayoutPriorityDefaultHigh + topLabelConstraint.priority = UILayoutPriority.defaultLow let bottomLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.bottom, relatedBy: .lessThanOrEqual, toItem: self.contentView, attribute: .bottom, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - bottomLabelConstraint.priority = UILayoutPriorityDefaultHigh + bottomLabelConstraint.priority = UILayoutPriority.defaultLow let verticalLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.centerYWithinMargins, relatedBy: .equal, toItem: self.contentView, attribute: .centerYWithinMargins, multiplier: 1.0, constant: 0) let leftLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.left, relatedBy: .equal, toItem: self.imgModernSearchBar, attribute: .right, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - leftLabelConstraint.priority = UILayoutPriorityDefaultHigh + leftLabelConstraint.priority = UILayoutPriority.defaultLow let leftLabelConstraintIfImageNil = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.left, relatedBy: .equal, toItem: self.contentView, attribute: .left, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - leftLabelConstraintIfImageNil.priority = UILayoutPriorityDefaultLow + leftLabelConstraintIfImageNil.priority = UILayoutPriority.defaultLow let rightLabelConstraint = NSLayoutConstraint(item: self.labelModelSearchBar, attribute:.right, relatedBy: .equal, toItem: self.contentView, attribute: .right, multiplier: 1.0, constant: ModernSearchBarCell.defaultMargin) - rightLabelConstraint.priority = UILayoutPriorityDefaultLow + rightLabelConstraint.priority = UILayoutPriority.defaultLow NSLayoutConstraint.activate([verticalImageConstraint, topImageConstraint, bottomImageConstraint, leftImageConstraint,heightImageConstraint, widthImageConstraint, @@ -95,7 +95,7 @@ public class ModernSearchBarCell: UITableViewCell { } if (isImageRound){ - self.imgModernSearchBar.layer.cornerRadius = heightImage.divided(by: 2) + self.imgModernSearchBar.layer.cornerRadius = heightImage / 2 self.imgModernSearchBar.clipsToBounds = true } } @@ -103,8 +103,8 @@ public class ModernSearchBarCell: UITableViewCell { ///Otherwise constaint on label doesn't works... public func configureWidthMaxLabel(suggestionsViewWidth: CGFloat, searchImageWidth: CGFloat) { var widthMax: CGFloat = suggestionsViewWidth - widthMax.subtract(ModernSearchBarCell.defaultMargin.multiplied(by: 3)) - widthMax.subtract(searchImageWidth) + widthMax = widthMax - (ModernSearchBarCell.defaultMargin * 3) + widthMax = widthMax - searchImageWidth self.labelModelSearchBar.preferredMaxLayoutWidth = widthMax } diff --git a/README.md b/README.md index 782d6be..1a95d14 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ self.modernSearchBar.suggestionsView_spaceWithKeyboard = 20 ``` ## Version -1.4 +1.5 ## License diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.pbxproj b/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.pbxproj deleted file mode 100644 index f8b93cf..0000000 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,388 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 03AC1E3FBAE13C1216B8E619 /* Pods_ModernSearchBar_Sample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 60A6BEDE5DBDB2E3C81564A8 /* Pods_ModernSearchBar_Sample.framework */; }; - 37877BFD1E6EA9300043C563 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37877BFC1E6EA9300043C563 /* AppDelegate.swift */; }; - 37877BFF1E6EA9300043C563 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37877BFE1E6EA9300043C563 /* ViewController.swift */; }; - 37877C021E6EA9300043C563 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 37877C001E6EA9300043C563 /* Main.storyboard */; }; - 37877C041E6EA9300043C563 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 37877C031E6EA9300043C563 /* Assets.xcassets */; }; - 37877C071E6EA9300043C563 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 37877C051E6EA9300043C563 /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 206E7982981D0F4A615949AF /* Pods-ModernSearchBar-Sample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ModernSearchBar-Sample.release.xcconfig"; path = "Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.release.xcconfig"; sourceTree = ""; }; - 37877BF91E6EA9300043C563 /* ModernSearchBar-Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ModernSearchBar-Sample.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 37877BFC1E6EA9300043C563 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 37877BFE1E6EA9300043C563 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 37877C011E6EA9300043C563 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 37877C031E6EA9300043C563 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 37877C061E6EA9300043C563 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 37877C081E6EA9300043C563 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 60A6BEDE5DBDB2E3C81564A8 /* Pods_ModernSearchBar_Sample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ModernSearchBar_Sample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B8F9868E792FC729D05F9E57 /* Pods-ModernSearchBar-Sample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ModernSearchBar-Sample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 37877BF61E6EA9300043C563 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 03AC1E3FBAE13C1216B8E619 /* Pods_ModernSearchBar_Sample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 37877BF01E6EA9300043C563 = { - isa = PBXGroup; - children = ( - 37877BFB1E6EA9300043C563 /* ModernSearchBar-Sample */, - 37877BFA1E6EA9300043C563 /* Products */, - E6DC299C51345027AB4C769B /* Pods */, - D4D9333F1F2F19EF7AFFB2BF /* Frameworks */, - ); - sourceTree = ""; - }; - 37877BFA1E6EA9300043C563 /* Products */ = { - isa = PBXGroup; - children = ( - 37877BF91E6EA9300043C563 /* ModernSearchBar-Sample.app */, - ); - name = Products; - sourceTree = ""; - }; - 37877BFB1E6EA9300043C563 /* ModernSearchBar-Sample */ = { - isa = PBXGroup; - children = ( - 37877BFC1E6EA9300043C563 /* AppDelegate.swift */, - 37877BFE1E6EA9300043C563 /* ViewController.swift */, - 37877C001E6EA9300043C563 /* Main.storyboard */, - 37877C031E6EA9300043C563 /* Assets.xcassets */, - 37877C051E6EA9300043C563 /* LaunchScreen.storyboard */, - 37877C081E6EA9300043C563 /* Info.plist */, - ); - path = "ModernSearchBar-Sample"; - sourceTree = ""; - }; - D4D9333F1F2F19EF7AFFB2BF /* Frameworks */ = { - isa = PBXGroup; - children = ( - 60A6BEDE5DBDB2E3C81564A8 /* Pods_ModernSearchBar_Sample.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E6DC299C51345027AB4C769B /* Pods */ = { - isa = PBXGroup; - children = ( - B8F9868E792FC729D05F9E57 /* Pods-ModernSearchBar-Sample.debug.xcconfig */, - 206E7982981D0F4A615949AF /* Pods-ModernSearchBar-Sample.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 37877BF81E6EA9300043C563 /* ModernSearchBar-Sample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 37877C0B1E6EA9300043C563 /* Build configuration list for PBXNativeTarget "ModernSearchBar-Sample" */; - buildPhases = ( - 60105D7CF37191C0E7462E8A /* [CP] Check Pods Manifest.lock */, - 37877BF51E6EA9300043C563 /* Sources */, - 37877BF61E6EA9300043C563 /* Frameworks */, - 37877BF71E6EA9300043C563 /* Resources */, - 3323AEB93E5925035F87D620 /* [CP] Embed Pods Frameworks */, - 1D71EAB7EBF2B3063D7410A4 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "ModernSearchBar-Sample"; - productName = "ModernSearchBar-Sample"; - productReference = 37877BF91E6EA9300043C563 /* ModernSearchBar-Sample.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 37877BF11E6EA9300043C563 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0830; - ORGANIZATIONNAME = CookMinute; - TargetAttributes = { - 37877BF81E6EA9300043C563 = { - CreatedOnToolsVersion = 8.3; - DevelopmentTeam = 3BBX8TF58T; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = 37877BF41E6EA9300043C563 /* Build configuration list for PBXProject "ModernSearchBar-Sample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 37877BF01E6EA9300043C563; - productRefGroup = 37877BFA1E6EA9300043C563 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 37877BF81E6EA9300043C563 /* ModernSearchBar-Sample */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 37877BF71E6EA9300043C563 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 37877C071E6EA9300043C563 /* LaunchScreen.storyboard in Resources */, - 37877C041E6EA9300043C563 /* Assets.xcassets in Resources */, - 37877C021E6EA9300043C563 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 1D71EAB7EBF2B3063D7410A4 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 3323AEB93E5925035F87D620 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 60105D7CF37191C0E7462E8A /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] 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 # 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"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 37877BF51E6EA9300043C563 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 37877BFF1E6EA9300043C563 /* ViewController.swift in Sources */, - 37877BFD1E6EA9300043C563 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 37877C001E6EA9300043C563 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 37877C011E6EA9300043C563 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 37877C051E6EA9300043C563 /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 37877C061E6EA9300043C563 /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 37877C091E6EA9300043C563 /* 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++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_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_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 10.3; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 37877C0A1E6EA9300043C563 /* 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++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_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_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = gnu99; - 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 = 10.3; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 37877C0C1E6EA9300043C563 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B8F9868E792FC729D05F9E57 /* Pods-ModernSearchBar-Sample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 3BBX8TF58T; - INFOPLIST_FILE = "ModernSearchBar-Sample/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cookminute.ModernSearchBar-Sample"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 37877C0D1E6EA9300043C563 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 206E7982981D0F4A615949AF /* Pods-ModernSearchBar-Sample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 3BBX8TF58T; - INFOPLIST_FILE = "ModernSearchBar-Sample/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cookminute.ModernSearchBar-Sample"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 37877BF41E6EA9300043C563 /* Build configuration list for PBXProject "ModernSearchBar-Sample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 37877C091E6EA9300043C563 /* Debug */, - 37877C0A1E6EA9300043C563 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 37877C0B1E6EA9300043C563 /* Build configuration list for PBXNativeTarget "ModernSearchBar-Sample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 37877C0C1E6EA9300043C563 /* Debug */, - 37877C0D1E6EA9300043C563 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; -/* End XCConfigurationList section */ - }; - rootObject = 37877BF11E6EA9300043C563 /* Project object */; -} diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate b/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 5254899..0000000 Binary files a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-Sample.xcscheme b/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-Sample.xcscheme deleted file mode 100644 index 60fdc70..0000000 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-Sample.xcscheme +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/contents.xcworkspacedata b/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index c0945c2..0000000 --- a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate b/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 95c7570..0000000 Binary files a/Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/Sample/ModernSearchBar-Sample/Podfile b/Sample/ModernSearchBar-Sample/Podfile deleted file mode 100644 index 6782030..0000000 --- a/Sample/ModernSearchBar-Sample/Podfile +++ /dev/null @@ -1,11 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'ModernSearchBar-Sample' do - # Comment the next line if you're not using Swift and don't want to use dynamic frameworks - use_frameworks! - - # Pods for ModernSearchBar-Sample - pod 'ModernSearchBar' - -end diff --git a/Sample/ModernSearchBar-Sample/Podfile.lock b/Sample/ModernSearchBar-Sample/Podfile.lock deleted file mode 100644 index 18cd4a3..0000000 --- a/Sample/ModernSearchBar-Sample/Podfile.lock +++ /dev/null @@ -1,12 +0,0 @@ -PODS: - - ModernSearchBar (1.1) - -DEPENDENCIES: - - ModernSearchBar - -SPEC CHECKSUMS: - ModernSearchBar: 786d08622d9d2a89af5c26e8d72f4e989fa34aa7 - -PODFILE CHECKSUM: 58d01be1427475abed5b742d91426349a0d0ba26 - -COCOAPODS: 1.2.0 diff --git a/Sample/ModernSearchBar-Sample/Pods/Manifest.lock b/Sample/ModernSearchBar-Sample/Pods/Manifest.lock deleted file mode 100644 index 18cd4a3..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Manifest.lock +++ /dev/null @@ -1,12 +0,0 @@ -PODS: - - ModernSearchBar (1.1) - -DEPENDENCIES: - - ModernSearchBar - -SPEC CHECKSUMS: - ModernSearchBar: 786d08622d9d2a89af5c26e8d72f4e989fa34aa7 - -PODFILE CHECKSUM: 58d01be1427475abed5b742d91426349a0d0ba26 - -COCOAPODS: 1.2.0 diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/LICENSE b/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/LICENSE deleted file mode 100644 index 35c9288..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2017 BOISNEY Philippe - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/Contents.json b/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/Contents.json deleted file mode 100644 index 216ea4a..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "search.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "search@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "search@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search.png b/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search.png deleted file mode 100644 index fcdef4e..0000000 Binary files a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search.png and /dev/null differ diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@2x.png b/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@2x.png deleted file mode 100644 index 1db5ee0..0000000 Binary files a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@2x.png and /dev/null differ diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@3x.png b/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@3x.png deleted file mode 100644 index 57c36c8..0000000 Binary files a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@3x.png and /dev/null differ diff --git a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/README.md b/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/README.md deleted file mode 100644 index 2b42a1c..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/README.md +++ /dev/null @@ -1,150 +0,0 @@ -

- -

-**The famous iOS search bar with auto completion feature implemented.** - -[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat -)](https://developer.apple.com/iphone/index.action) -[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat -)](https://developer.apple.com/swift) -[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat -)](http://mit-license.org) - -## PRESENTATION -This search bar will allow you to offer suggestions words to your users when they are looking for something using default iOS search bar. Enjoy it ! - - -## DEMO -### Two ways to use this lib -

-

1 - With Array<String>

- -

2 - With Array<ModernSearchBarModel>

- - -

- -## INSTALLATION -####COCOAPODS -``` -pod 'ModernSearchBar' -``` - - -## USAGE -###1 - Configure StoryBoard (Custom Class) -

- -

-###2 - Configure ViewController -```swift -//Import lib on the top of ViewController -import ModernSearchBar - -//Create an IBOutlet from your searchBar - @IBOutlet weak var modernSearchBar: ModernSearchBar! - -//Extend your ViewController with 'ModernSearchBarDelegate' -class ViewController: UIViewController, ModernSearchBarDelegate - -//Implement the delegation -self.modernSearchBar.delegateModernSearchBar = self - -//Set datas to fill the suggestionsView of the searchbar. -//Two ways (you have to choose only one, you can't implement both obviously) - -// 1 - With an Array -var suggestionList = Array() -suggestionList.append("Onions") -suggestionList.append("Celery") - -self.modernSearchBar.setDatas(datas: suggestionList - -// 2 - With custom Array -var suggestionListWithUrl = Array() -suggestionListWithUrl.append(ModernSearchBarModel(title: "Alpha", url: "https://github.com/PhilippeBoisney/ModernSearchBar/raw/master/Examples%20Url/exampleA.png")) -suggestionListWithUrl.append(ModernSearchBarModel(title: "Bravo", url: "https://github.com/PhilippeBoisney/ModernSearchBar/raw/master/Examples%20Url/exampleB.png")) - -self.modernSearchBar.setDatasWithUrl(datas: suggestionListWithUrl) - -``` -## DELEGATE -ModernSearchBarDelegate inherit from UISearchBarDelegate, so you can find commons methods you already use in your project. Also, I add those methods to handle click actions on suggestionsView. - ```swift - -///Called if you use String suggestion list -func onClickItemSuggestionsView(item: String) { - print("User touched this item: "+item) -} - -///Called if you use Custom Item suggestion list -func onClickItemWithUrlSuggestionsView(item: ModernSearchBarModel) { - print("User touched this item: "+item.title+" with this url: "+item.url.description) -} - -///Called when user touched shadowView -func onClickShadowView(shadowView: UIView) { - print("User touched shadowView") -} - - ``` -## CUSTOMIZING - - ```swift - -//Modify shadows alpha -self.modernSearchBar.shadowView_alpha = 0.8 - -//Modify the default icon of suggestionsView's rows -self.modernSearchBar.searchImage = ModernSearchBarIcon.Icon.none.image - -//Modify properties of the searchLabel -self.modernSearchBar.searchLabel_font = UIFont(name: "Avenir-Light", size: 30) -self.modernSearchBar.searchLabel_textColor = UIColor.red -self.modernSearchBar.searchLabel_backgroundColor = UIColor.black - -//Modify properties of the searchIcon -self.modernSearchBar.suggestionsView_searchIcon_height = 40 -self.modernSearchBar.suggestionsView_searchIcon_width = 40 -self.modernSearchBar.suggestionsView_searchIcon_isRound = false - -//Modify properties of suggestionsView -///Modify the max height of the suggestionsView -self.modernSearchBar.suggestionsView_maxHeight = 1000 -///Modify properties of the suggestionsView -self.modernSearchBar.suggestionsView_backgroundColor = UIColor.brown -self.modernSearchBar.suggestionsView_contentViewColor = UIColor.yellow -self.modernSearchBar.suggestionsView_separatorStyle = .singleLine -self.modernSearchBar.suggestionsView_selectionStyle = UITableViewCellSelectionStyle.gray - - ``` - -## Version -1.1 - -## License - -Copyright 2017 Boisney Philippe - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -## Contributing - -1. Fork it -2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Add some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. **Create New Pull Request** - -## Author -Philippe BOISNEY (phil.boisney(@)gmail.com) diff --git a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/project.pbxproj b/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 1dc0c89..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,675 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 09B91BB8E452D2BBB0593637F372F4E7 /* ModernSearchBarCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5216D2EC667309DB6270B929B22D2B9 /* ModernSearchBarCell.swift */; }; - 0C466BAAA29DDF209A3C9B7417F36D21 /* ModernSearchBarDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD4BA0E93C9BDDBC65FE03B141642263 /* ModernSearchBarDelegate.swift */; }; - 482FB5C646E6B4E49336B394085CE2D0 /* ModernSearchBar-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 77AD5AD1E74BEA61FAB488248F029DEE /* ModernSearchBar-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4C0C5AAEFF5030B08FE60129FC8F4314 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; - 53EAEE5B187CD6E6234CD78660DB10AC /* ModernSearchBar-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A1A5F55622BE20D6E032BE5C701833F5 /* ModernSearchBar-dummy.m */; }; - 5DE69AEDA157A8C9164A2A17389A320E /* ModernSearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = F33ACB07A7E70187E92A79D3A32B0AA1 /* ModernSearchBar.swift */; }; - 66A034919311DADF75BBB40E3730A691 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; - 711D5CEE90A15A541355BFBFD07535F7 /* ModernSearchBarIcon.swift in Sources */ = {isa = PBXBuildFile; fileRef = B04D73A5B0166A0BCEB7FDE80FCC31D8 /* ModernSearchBarIcon.swift */; }; - 8688A8B7577015546876E81A2F331095 /* Pods-ModernSearchBar-Sample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E2A008131ABA8B2462B56A86075C0A31 /* Pods-ModernSearchBar-Sample-dummy.m */; }; - 9AD3C2BC6935DD9AA6596F533E81C692 /* ModernSearchBar.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 949C84A567BAE93F2C887C62840AB25A /* ModernSearchBar.bundle */; }; - A266F9CE9D03AB690F5DEC496CB58AE4 /* ModernSearchBarModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E44939A240A9A9B3E85CCF2174270DC /* ModernSearchBarModel.swift */; }; - CC1792EC4C09C0E9754B864DF7299D66 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2951F94A8E0C5C7FBD55FA0ADE846331 /* Assets.xcassets */; }; - EDB8D680AB434834D6E6048C0E981F58 /* Pods-ModernSearchBar-Sample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FC94436F2BFA352B0174D625B64A3B43 /* Pods-ModernSearchBar-Sample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - A9BE0C0DCCF887B6C27FBDD7CF037C8F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3947CFF5C2B3AE8B6E09B96A5789E59E; - remoteInfo = ModernSearchBar; - }; - D64E642622A3A804530F1E280D7118FA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 5AD7B8AF641D66E0D60F5040F37607DA; - remoteInfo = "ModernSearchBar-ModernSearchBar"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0624C1A93A9299D666B5C12EE5B2B14F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 1BD96B520E61129B0FB5727D88B2D962 /* Pods-ModernSearchBar-Sample-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ModernSearchBar-Sample-resources.sh"; sourceTree = ""; }; - 1E44939A240A9A9B3E85CCF2174270DC /* ModernSearchBarModel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ModernSearchBarModel.swift; path = Pod/Classes/ModernSearchBarModel.swift; sourceTree = ""; }; - 2951F94A8E0C5C7FBD55FA0ADE846331 /* Assets.xcassets */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Pod/Assets.xcassets; sourceTree = ""; }; - 2F10E70685226DC581E85A691C682877 /* Pods-ModernSearchBar-Sample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ModernSearchBar-Sample-acknowledgements.plist"; sourceTree = ""; }; - 36E6E659DE6E2F88AB2A62B69D6ACF5D /* Pods-ModernSearchBar-Sample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ModernSearchBar-Sample-acknowledgements.markdown"; sourceTree = ""; }; - 3D19B38FC1B71EF55B9D0E25DCA482A2 /* ModernSearchBar-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ModernSearchBar-prefix.pch"; sourceTree = ""; }; - 4AF508075BB432F19B72FED33FA15F52 /* ModernSearchBar.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ModernSearchBar.xcconfig; sourceTree = ""; }; - 722D43F36203593F7D59C04A1AC81D99 /* Pods-ModernSearchBar-Sample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ModernSearchBar-Sample.release.xcconfig"; sourceTree = ""; }; - 77AD5AD1E74BEA61FAB488248F029DEE /* ModernSearchBar-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ModernSearchBar-umbrella.h"; sourceTree = ""; }; - 80001B59F58714143F3D5028A79A384E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 913BAD0C20035B4CFB260B41F75359C1 /* ModernSearchBar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ModernSearchBar.framework; path = ModernSearchBar.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 949C84A567BAE93F2C887C62840AB25A /* ModernSearchBar.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = ModernSearchBar.bundle; path = ModernSearchBar.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; - 989DEC3F17D73368745A535E41B50294 /* Pods-ModernSearchBar-Sample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ModernSearchBar-Sample.debug.xcconfig"; sourceTree = ""; }; - 98DB72D4210F209EB887E087E27C60CD /* Pods-ModernSearchBar-Sample-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ModernSearchBar-Sample-frameworks.sh"; sourceTree = ""; }; - 9939CE2855CF9F667F3924F9F0258655 /* ResourceBundle-ModernSearchBar-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-ModernSearchBar-Info.plist"; sourceTree = ""; }; - A1A5F55622BE20D6E032BE5C701833F5 /* ModernSearchBar-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ModernSearchBar-dummy.m"; sourceTree = ""; }; - B04D73A5B0166A0BCEB7FDE80FCC31D8 /* ModernSearchBarIcon.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ModernSearchBarIcon.swift; path = Pod/Classes/ModernSearchBarIcon.swift; sourceTree = ""; }; - B5216D2EC667309DB6270B929B22D2B9 /* ModernSearchBarCell.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ModernSearchBarCell.swift; path = Pod/Classes/ModernSearchBarCell.swift; sourceTree = ""; }; - B902C382426F99B940CB5C63B13A2DCD /* ModernSearchBar.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = ModernSearchBar.modulemap; sourceTree = ""; }; - BD4BA0E93C9BDDBC65FE03B141642263 /* ModernSearchBarDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ModernSearchBarDelegate.swift; path = Pod/Classes/ModernSearchBarDelegate.swift; sourceTree = ""; }; - C1CCCCC80C43234526420EEC17590426 /* Pods-ModernSearchBar-Sample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-ModernSearchBar-Sample.modulemap"; sourceTree = ""; }; - CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - E2A008131ABA8B2462B56A86075C0A31 /* Pods-ModernSearchBar-Sample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ModernSearchBar-Sample-dummy.m"; sourceTree = ""; }; - E4A2519DEA62A3189EE13330B4FD9AC1 /* Pods_ModernSearchBar_Sample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ModernSearchBar_Sample.framework; path = "Pods-ModernSearchBar-Sample.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - F33ACB07A7E70187E92A79D3A32B0AA1 /* ModernSearchBar.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ModernSearchBar.swift; path = Pod/Classes/ModernSearchBar.swift; sourceTree = ""; }; - FC94436F2BFA352B0174D625B64A3B43 /* Pods-ModernSearchBar-Sample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ModernSearchBar-Sample-umbrella.h"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 42359C29A5D82D3915667B4B44DE8BA7 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 87E02270212426D30766852B9CAC35D2 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 66A034919311DADF75BBB40E3730A691 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C6B0F852F468F4C9B28BE6C9431A43D8 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4C0C5AAEFF5030B08FE60129FC8F4314 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 07C925B174159E1F740DE4177742596D /* Products */ = { - isa = PBXGroup; - children = ( - 949C84A567BAE93F2C887C62840AB25A /* ModernSearchBar.bundle */, - 913BAD0C20035B4CFB260B41F75359C1 /* ModernSearchBar.framework */, - E4A2519DEA62A3189EE13330B4FD9AC1 /* Pods_ModernSearchBar_Sample.framework */, - ); - name = Products; - sourceTree = ""; - }; - 53AA079A6844303DEF8EA4183A7D1927 /* ModernSearchBar */ = { - isa = PBXGroup; - children = ( - F33ACB07A7E70187E92A79D3A32B0AA1 /* ModernSearchBar.swift */, - B5216D2EC667309DB6270B929B22D2B9 /* ModernSearchBarCell.swift */, - BD4BA0E93C9BDDBC65FE03B141642263 /* ModernSearchBarDelegate.swift */, - B04D73A5B0166A0BCEB7FDE80FCC31D8 /* ModernSearchBarIcon.swift */, - 1E44939A240A9A9B3E85CCF2174270DC /* ModernSearchBarModel.swift */, - 744E5339C9D1B714981929690EB293B7 /* Resources */, - ED65527CEF3154A921B400099161E376 /* Support Files */, - ); - name = ModernSearchBar; - path = ModernSearchBar; - sourceTree = ""; - }; - 563EEF7CC4FA259200D5DCAA18EDE56C /* Pods-ModernSearchBar-Sample */ = { - isa = PBXGroup; - children = ( - 80001B59F58714143F3D5028A79A384E /* Info.plist */, - C1CCCCC80C43234526420EEC17590426 /* Pods-ModernSearchBar-Sample.modulemap */, - 36E6E659DE6E2F88AB2A62B69D6ACF5D /* Pods-ModernSearchBar-Sample-acknowledgements.markdown */, - 2F10E70685226DC581E85A691C682877 /* Pods-ModernSearchBar-Sample-acknowledgements.plist */, - E2A008131ABA8B2462B56A86075C0A31 /* Pods-ModernSearchBar-Sample-dummy.m */, - 98DB72D4210F209EB887E087E27C60CD /* Pods-ModernSearchBar-Sample-frameworks.sh */, - 1BD96B520E61129B0FB5727D88B2D962 /* Pods-ModernSearchBar-Sample-resources.sh */, - FC94436F2BFA352B0174D625B64A3B43 /* Pods-ModernSearchBar-Sample-umbrella.h */, - 989DEC3F17D73368745A535E41B50294 /* Pods-ModernSearchBar-Sample.debug.xcconfig */, - 722D43F36203593F7D59C04A1AC81D99 /* Pods-ModernSearchBar-Sample.release.xcconfig */, - ); - name = "Pods-ModernSearchBar-Sample"; - path = "Target Support Files/Pods-ModernSearchBar-Sample"; - sourceTree = ""; - }; - 642E3284722E02B2C05D63BF3B658990 /* Pods */ = { - isa = PBXGroup; - children = ( - 53AA079A6844303DEF8EA4183A7D1927 /* ModernSearchBar */, - ); - name = Pods; - sourceTree = ""; - }; - 744E5339C9D1B714981929690EB293B7 /* Resources */ = { - isa = PBXGroup; - children = ( - 2951F94A8E0C5C7FBD55FA0ADE846331 /* Assets.xcassets */, - ); - name = Resources; - sourceTree = ""; - }; - 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { - isa = PBXGroup; - children = ( - CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - 642E3284722E02B2C05D63BF3B658990 /* Pods */, - 07C925B174159E1F740DE4177742596D /* Products */, - EC8EBA2DE53760AAAE56E5D297BB7D9B /* Targets Support Files */, - ); - sourceTree = ""; - }; - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - EC8EBA2DE53760AAAE56E5D297BB7D9B /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 563EEF7CC4FA259200D5DCAA18EDE56C /* Pods-ModernSearchBar-Sample */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - ED65527CEF3154A921B400099161E376 /* Support Files */ = { - isa = PBXGroup; - children = ( - 0624C1A93A9299D666B5C12EE5B2B14F /* Info.plist */, - B902C382426F99B940CB5C63B13A2DCD /* ModernSearchBar.modulemap */, - 4AF508075BB432F19B72FED33FA15F52 /* ModernSearchBar.xcconfig */, - A1A5F55622BE20D6E032BE5C701833F5 /* ModernSearchBar-dummy.m */, - 3D19B38FC1B71EF55B9D0E25DCA482A2 /* ModernSearchBar-prefix.pch */, - 77AD5AD1E74BEA61FAB488248F029DEE /* ModernSearchBar-umbrella.h */, - 9939CE2855CF9F667F3924F9F0258655 /* ResourceBundle-ModernSearchBar-Info.plist */, - ); - name = "Support Files"; - path = "../Target Support Files/ModernSearchBar"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 25A8C4534C54F75F354A13C4488100A3 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 482FB5C646E6B4E49336B394085CE2D0 /* ModernSearchBar-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7A821E09C03F7B4AFE201F76CE2BB54C /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - EDB8D680AB434834D6E6048C0E981F58 /* Pods-ModernSearchBar-Sample-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 3947CFF5C2B3AE8B6E09B96A5789E59E /* ModernSearchBar */ = { - isa = PBXNativeTarget; - buildConfigurationList = 554A48D5F9F79C38CF8986B9A13106B1 /* Build configuration list for PBXNativeTarget "ModernSearchBar" */; - buildPhases = ( - 646FC39744309060DCF713C303B15FDA /* Sources */, - 87E02270212426D30766852B9CAC35D2 /* Frameworks */, - CB303A2AAB36CE89B70923F871856F34 /* Resources */, - 25A8C4534C54F75F354A13C4488100A3 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 12B5FEAC3003A1E9B16481BBB47FC7D1 /* PBXTargetDependency */, - ); - name = ModernSearchBar; - productName = ModernSearchBar; - productReference = 913BAD0C20035B4CFB260B41F75359C1 /* ModernSearchBar.framework */; - productType = "com.apple.product-type.framework"; - }; - 5AD7B8AF641D66E0D60F5040F37607DA /* ModernSearchBar-ModernSearchBar */ = { - isa = PBXNativeTarget; - buildConfigurationList = F998D847C43ABA6760F559C425CF26CD /* Build configuration list for PBXNativeTarget "ModernSearchBar-ModernSearchBar" */; - buildPhases = ( - 6153896BC4140EB9D0C6AD3C3ADEB9CF /* Sources */, - 42359C29A5D82D3915667B4B44DE8BA7 /* Frameworks */, - E0B6FE78F3454C779FEE275E892DA196 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "ModernSearchBar-ModernSearchBar"; - productName = "ModernSearchBar-ModernSearchBar"; - productReference = 949C84A567BAE93F2C887C62840AB25A /* ModernSearchBar.bundle */; - productType = "com.apple.product-type.bundle"; - }; - 631325BCCED1F27B69DEFAF0349D1EA8 /* Pods-ModernSearchBar-Sample */ = { - isa = PBXNativeTarget; - buildConfigurationList = F2F86A2FA1015BEFEDA5191BC3D2E8EF /* Build configuration list for PBXNativeTarget "Pods-ModernSearchBar-Sample" */; - buildPhases = ( - 0F983313FBAE12A838103924E6059FD9 /* Sources */, - C6B0F852F468F4C9B28BE6C9431A43D8 /* Frameworks */, - 7A821E09C03F7B4AFE201F76CE2BB54C /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - B6A7B661161EBD3C4667F2C32405EE63 /* PBXTargetDependency */, - ); - name = "Pods-ModernSearchBar-Sample"; - productName = "Pods-ModernSearchBar-Sample"; - productReference = E4A2519DEA62A3189EE13330B4FD9AC1 /* Pods_ModernSearchBar_Sample.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 0700; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 07C925B174159E1F740DE4177742596D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 3947CFF5C2B3AE8B6E09B96A5789E59E /* ModernSearchBar */, - 5AD7B8AF641D66E0D60F5040F37607DA /* ModernSearchBar-ModernSearchBar */, - 631325BCCED1F27B69DEFAF0349D1EA8 /* Pods-ModernSearchBar-Sample */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - CB303A2AAB36CE89B70923F871856F34 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 9AD3C2BC6935DD9AA6596F533E81C692 /* ModernSearchBar.bundle in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E0B6FE78F3454C779FEE275E892DA196 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - CC1792EC4C09C0E9754B864DF7299D66 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 0F983313FBAE12A838103924E6059FD9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8688A8B7577015546876E81A2F331095 /* Pods-ModernSearchBar-Sample-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6153896BC4140EB9D0C6AD3C3ADEB9CF /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 646FC39744309060DCF713C303B15FDA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 53EAEE5B187CD6E6234CD78660DB10AC /* ModernSearchBar-dummy.m in Sources */, - 5DE69AEDA157A8C9164A2A17389A320E /* ModernSearchBar.swift in Sources */, - 09B91BB8E452D2BBB0593637F372F4E7 /* ModernSearchBarCell.swift in Sources */, - 0C466BAAA29DDF209A3C9B7417F36D21 /* ModernSearchBarDelegate.swift in Sources */, - 711D5CEE90A15A541355BFBFD07535F7 /* ModernSearchBarIcon.swift in Sources */, - A266F9CE9D03AB690F5DEC496CB58AE4 /* ModernSearchBarModel.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 12B5FEAC3003A1E9B16481BBB47FC7D1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "ModernSearchBar-ModernSearchBar"; - target = 5AD7B8AF641D66E0D60F5040F37607DA /* ModernSearchBar-ModernSearchBar */; - targetProxy = D64E642622A3A804530F1E280D7118FA /* PBXContainerItemProxy */; - }; - B6A7B661161EBD3C4667F2C32405EE63 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = ModernSearchBar; - target = 3947CFF5C2B3AE8B6E09B96A5789E59E /* ModernSearchBar */; - targetProxy = A9BE0C0DCCF887B6C27FBDD7CF037C8F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 156284431C64CB05C59BDA0595A1E95A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - 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; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - 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 = 10.3; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 159887DC356BD4AA55883AEC37814C54 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 722D43F36203593F7D59C04A1AC81D99 /* Pods-ModernSearchBar-Sample.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-ModernSearchBar-Sample/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_ModernSearchBar_Sample; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 30AAD52E75A2119527C48AD4A6178444 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 989DEC3F17D73368745A535E41B50294 /* Pods-ModernSearchBar-Sample.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-ModernSearchBar-Sample/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_ModernSearchBar_Sample; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 3F0E7B043B7B7AD90D346D1C52F2C18A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AF508075BB432F19B72FED33FA15F52 /* ModernSearchBar.xcconfig */; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/ModernSearchBar"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/ModernSearchBar/ResourceBundle-ModernSearchBar-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - PRODUCT_NAME = ModernSearchBar; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - WRAPPER_EXTENSION = bundle; - }; - name = Debug; - }; - 42952167BF5D4F993E1AB71AB0543270 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AF508075BB432F19B72FED33FA15F52 /* ModernSearchBar.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/ModernSearchBar/ModernSearchBar-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/ModernSearchBar/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/ModernSearchBar/ModernSearchBar.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = ModernSearchBar; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 9A3BBC803879A33BC34FCBF0F42F6DD8 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AF508075BB432F19B72FED33FA15F52 /* ModernSearchBar.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/ModernSearchBar/ModernSearchBar-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/ModernSearchBar/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/ModernSearchBar/ModernSearchBar.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = ModernSearchBar; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - AE1FF8696247B9041AE9892B52A39AF0 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AF508075BB432F19B72FED33FA15F52 /* ModernSearchBar.xcconfig */; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/ModernSearchBar"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/ModernSearchBar/ResourceBundle-ModernSearchBar-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - PRODUCT_NAME = ModernSearchBar; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - WRAPPER_EXTENSION = bundle; - }; - name = Release; - }; - C382132BB6BF8CA1A911872A2062FD0D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - 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; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "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 = 10.3; - ONLY_ACTIVE_ARCH = YES; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C382132BB6BF8CA1A911872A2062FD0D /* Debug */, - 156284431C64CB05C59BDA0595A1E95A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 554A48D5F9F79C38CF8986B9A13106B1 /* Build configuration list for PBXNativeTarget "ModernSearchBar" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 9A3BBC803879A33BC34FCBF0F42F6DD8 /* Debug */, - 42952167BF5D4F993E1AB71AB0543270 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F2F86A2FA1015BEFEDA5191BC3D2E8EF /* Build configuration list for PBXNativeTarget "Pods-ModernSearchBar-Sample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 30AAD52E75A2119527C48AD4A6178444 /* Debug */, - 159887DC356BD4AA55883AEC37814C54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F998D847C43ABA6760F559C425CF26CD /* Build configuration list for PBXNativeTarget "ModernSearchBar-ModernSearchBar" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3F0E7B043B7B7AD90D346D1C52F2C18A /* Debug */, - AE1FF8696247B9041AE9892B52A39AF0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-ModernSearchBar.xcscheme b/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-ModernSearchBar.xcscheme deleted file mode 100644 index eb10faa..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-ModernSearchBar.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar.xcscheme b/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar.xcscheme deleted file mode 100644 index 4efe40b..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/Pods-ModernSearchBar-Sample.xcscheme b/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/Pods-ModernSearchBar-Sample.xcscheme deleted file mode 100644 index 49a1b1e..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/Pods-ModernSearchBar-Sample.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist b/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index b8996b4..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - SchemeUserState - - ModernSearchBar-ModernSearchBar.xcscheme - - isShown - - - ModernSearchBar.xcscheme - - isShown - - - Pods-ModernSearchBar-Sample.xcscheme - - isShown - - - - SuppressBuildableAutocreation - - 3947CFF5C2B3AE8B6E09B96A5789E59E - - primary - - - 5AD7B8AF641D66E0D60F5040F37607DA - - primary - - - 631325BCCED1F27B69DEFAF0349D1EA8 - - primary - - - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/Info.plist b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/Info.plist deleted file mode 100644 index 21a30b4..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.1.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-dummy.m b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-dummy.m deleted file mode 100644 index 9550082..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_ModernSearchBar : NSObject -@end -@implementation PodsDummy_ModernSearchBar -@end diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-prefix.pch b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-umbrella.h b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-umbrella.h deleted file mode 100644 index b5386d7..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double ModernSearchBarVersionNumber; -FOUNDATION_EXPORT const unsigned char ModernSearchBarVersionString[]; - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.modulemap b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.modulemap deleted file mode 100644 index ba98fa0..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module ModernSearchBar { - umbrella header "ModernSearchBar-umbrella.h" - - export * - module * { export * } -} diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.xcconfig b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.xcconfig deleted file mode 100644 index 35ede63..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ModernSearchBar -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/ModernSearchBar -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ResourceBundle-ModernSearchBar-Info.plist b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ResourceBundle-ModernSearchBar-Info.plist deleted file mode 100644 index e31856e..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ResourceBundle-ModernSearchBar-Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSPrincipalClass - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Info.plist b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.markdown b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.markdown deleted file mode 100644 index 6c0f714..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.markdown +++ /dev/null @@ -1,20 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## ModernSearchBar - -Copyright 2017 BOISNEY Philippe - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.plist b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.plist deleted file mode 100644 index a61e0c2..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.plist +++ /dev/null @@ -1,52 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright 2017 BOISNEY Philippe - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - - License - APACHE - Title - ModernSearchBar - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-dummy.m b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-dummy.m deleted file mode 100644 index f1f6828..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_ModernSearchBar_Sample : NSObject -@end -@implementation PodsDummy_Pods_ModernSearchBar_Sample -@end diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-frameworks.sh b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-frameworks.sh deleted file mode 100755 index f18669a..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-frameworks.sh +++ /dev/null @@ -1,99 +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="${TARGET_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}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - 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 "$BUILT_PRODUCTS_DIR/ModernSearchBar/ModernSearchBar.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "$BUILT_PRODUCTS_DIR/ModernSearchBar/ModernSearchBar.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-resources.sh b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-resources.sh deleted file mode 100755 index 4602c68..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-resources.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -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" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_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 - # 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 != "${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 "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-umbrella.h b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-umbrella.h deleted file mode 100644 index e10bc36..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_ModernSearchBar_SampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_ModernSearchBar_SampleVersionString[]; - diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.debug.xcconfig b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.debug.xcconfig deleted file mode 100644 index 89a0176..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.debug.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ModernSearchBar" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ModernSearchBar/ModernSearchBar.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "ModernSearchBar" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.modulemap b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.modulemap deleted file mode 100644 index 816de5e..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_ModernSearchBar_Sample { - umbrella header "Pods-ModernSearchBar-Sample-umbrella.h" - - export * - module * { export * } -} diff --git a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.release.xcconfig b/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.release.xcconfig deleted file mode 100644 index 89a0176..0000000 --- a/Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.release.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ModernSearchBar" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ModernSearchBar/ModernSearchBar.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "ModernSearchBar" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods