From eed7601cc2f820c674674a6768b84325b8cac45c Mon Sep 17 00:00:00 2001
From: Boisney Philippe
Date: Thu, 5 Oct 2017 10:02:18 +0200
Subject: [PATCH] Swift 4 Support + Improving research on characters
---
.swift-version | 2 +-
.../ModernSearchBar.xcodeproj/project.pbxproj | 349 +++++++++
.../contents.xcworkspacedata | 2 +-
.../UserInterfaceState.xcuserstate | Bin 0 -> 29476 bytes
.../xcschemes/xcschememanagement.plist | 10 +-
.../ModernSearchBar}/AppDelegate.swift | 4 +-
.../AppIcon.appiconset/Contents.json | 25 +
.../Base.lproj/LaunchScreen.storyboard | 10 +-
.../Base.lproj/Main.storyboard | 67 +-
.../ModernSearchBar}/Info.plist | 2 +-
.../ModernSearchBar}/ModernSearchBar.swift | 168 ++++-
.../ModernSearchBarCell.swift | 24 +-
.../ModernSearchBarDelegate.swift | 0
.../ModernSearchBarIcon.swift | 0
.../ModernSearchBarModel.swift | 0
.../ModernSearchBar}/ViewController.swift | 64 +-
ModernSearchBar.podspec | 2 +-
Pod/Classes/ModernSearchBar.swift | 14 +-
Pod/Classes/ModernSearchBarCell.swift | 22 +-
README.md | 2 +-
.../project.pbxproj | 388 ----------
.../UserInterfaceState.xcuserstate | Bin 7159 -> 0 bytes
.../xcschemes/ModernSearchBar-Sample.xcscheme | 91 ---
.../contents.xcworkspacedata | 10 -
.../UserInterfaceState.xcuserstate | Bin 20051 -> 0 bytes
Sample/ModernSearchBar-Sample/Podfile | 11 -
Sample/ModernSearchBar-Sample/Podfile.lock | 12 -
.../ModernSearchBar-Sample/Pods/Manifest.lock | 12 -
.../Pods/ModernSearchBar/LICENSE | 13 -
.../search.imageset/Contents.json | 23 -
.../search.imageset/search.png | Bin 449 -> 0 bytes
.../search.imageset/search@2x.png | Bin 899 -> 0 bytes
.../search.imageset/search@3x.png | Bin 1486 -> 0 bytes
.../Pods/ModernSearchBar/README.md | 150 ----
.../Pods/Pods.xcodeproj/project.pbxproj | 675 ------------------
.../ModernSearchBar-ModernSearchBar.xcscheme | 60 --
.../xcschemes/ModernSearchBar.xcscheme | 60 --
.../Pods-ModernSearchBar-Sample.xcscheme | 71 --
.../xcschemes/xcschememanagement.plist | 42 --
.../ModernSearchBar/Info.plist | 26 -
.../ModernSearchBar/ModernSearchBar-dummy.m | 5 -
.../ModernSearchBar-prefix.pch | 12 -
.../ModernSearchBar-umbrella.h | 16 -
.../ModernSearchBar/ModernSearchBar.modulemap | 6 -
.../ModernSearchBar/ModernSearchBar.xcconfig | 10 -
.../ResourceBundle-ModernSearchBar-Info.plist | 24 -
.../Pods-ModernSearchBar-Sample/Info.plist | 26 -
...SearchBar-Sample-acknowledgements.markdown | 20 -
...ernSearchBar-Sample-acknowledgements.plist | 52 --
.../Pods-ModernSearchBar-Sample-dummy.m | 5 -
.../Pods-ModernSearchBar-Sample-frameworks.sh | 99 ---
.../Pods-ModernSearchBar-Sample-resources.sh | 99 ---
.../Pods-ModernSearchBar-Sample-umbrella.h | 16 -
...Pods-ModernSearchBar-Sample.debug.xcconfig | 10 -
.../Pods-ModernSearchBar-Sample.modulemap | 6 -
...ds-ModernSearchBar-Sample.release.xcconfig | 10 -
56 files changed, 618 insertions(+), 2209 deletions(-)
create mode 100644 Demo/ModernSearchBar.xcodeproj/project.pbxproj
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj => Demo/ModernSearchBar.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (65%)
create mode 100644 Demo/ModernSearchBar.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj => Demo/ModernSearchBar.xcodeproj}/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist (60%)
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample => Demo/ModernSearchBar}/AppDelegate.swift (96%)
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample => Demo/ModernSearchBar}/Assets.xcassets/AppIcon.appiconset/Contents.json (71%)
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample => Demo/ModernSearchBar}/Base.lproj/LaunchScreen.storyboard (70%)
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample => Demo/ModernSearchBar}/Base.lproj/Main.storyboard (62%)
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample => Demo/ModernSearchBar}/Info.plist (97%)
rename {Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes => Demo/ModernSearchBar}/ModernSearchBar.swift (73%)
rename {Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes => Demo/ModernSearchBar}/ModernSearchBarCell.swift (90%)
rename {Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes => Demo/ModernSearchBar}/ModernSearchBarDelegate.swift (100%)
rename {Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes => Demo/ModernSearchBar}/ModernSearchBarIcon.swift (100%)
rename {Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Classes => Demo/ModernSearchBar}/ModernSearchBarModel.swift (100%)
rename {Sample/ModernSearchBar-Sample/ModernSearchBar-Sample => Demo/ModernSearchBar}/ViewController.swift (75%)
delete mode 100644 Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.pbxproj
delete mode 100644 Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/project.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate
delete mode 100644 Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-Sample.xcscheme
delete mode 100644 Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/contents.xcworkspacedata
delete mode 100644 Sample/ModernSearchBar-Sample/ModernSearchBar-Sample.xcworkspace/xcuserdata/Philippe.xcuserdatad/UserInterfaceState.xcuserstate
delete mode 100644 Sample/ModernSearchBar-Sample/Podfile
delete mode 100644 Sample/ModernSearchBar-Sample/Podfile.lock
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Manifest.lock
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/LICENSE
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/Contents.json
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search.png
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@2x.png
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/Pod/Assets.xcassets/search.imageset/search@3x.png
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/ModernSearchBar/README.md
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/project.pbxproj
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar-ModernSearchBar.xcscheme
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/ModernSearchBar.xcscheme
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/Pods-ModernSearchBar-Sample.xcscheme
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Pods.xcodeproj/xcuserdata/Philippe.xcuserdatad/xcschemes/xcschememanagement.plist
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/Info.plist
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-dummy.m
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-prefix.pch
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar-umbrella.h
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.modulemap
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ModernSearchBar.xcconfig
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/ModernSearchBar/ResourceBundle-ModernSearchBar-Info.plist
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Info.plist
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.markdown
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-acknowledgements.plist
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-dummy.m
delete mode 100755 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-frameworks.sh
delete mode 100755 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-resources.sh
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample-umbrella.h
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.debug.xcconfig
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.modulemap
delete mode 100644 Sample/ModernSearchBar-Sample/Pods/Target Support Files/Pods-ModernSearchBar-Sample/Pods-ModernSearchBar-Sample.release.xcconfig
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 0000000000000000000000000000000000000000..df80feff4dd006cfa6939f796dccb704a98ee2b5
GIT binary patch
literal 29476
zcmeHwcU+U#`uKa^8Fs=@*?USN5CpU$gb*N*0VM1Z0z{0mN(?mY#!-P5*q
z*ABa@waf0-F739hcK)98z6nFI-+OQGy`SG7x4lis`=0ZhbDnjc^Ne%b`@5a4!HkU8
z2t<$sMbHF8urj->y*^=yW5DI?>#a}dYhUE(7<4rx*atcmI^nT3VX&`1kU;A<-L4?l
z5F8;Rf{0)ugqTUB6G}ow%px*~Od^X=6WPRUqJStQG(-_mMwkdQQA5~?cA|smBpk#-
zVli6R!}j68nh*#B0Rs#0SKO#7D$o;#1;F;(Ou;;u!G<@h2h>LL{OP
zho++$C=`XEa1?2gf^pXXeYV_-Hz@;yV1kw5%efJfZjlFqIb}{=tJ}o`V@VJ
zj-aFHTl5|J5&eXILBEoIq(2!z%1H$oNCuI?WC$5aMv>8E44Fl$$!u~qnM3B1dE^{&
zE_ntykIW}^WC>YHHjs^E6WL6*kgcSRY$NStJJ~^YlHFtv*-P@IK&~d&kZZ|xCAEq=
zo8qbSsPm}{sEyQB)Ya7W)Fx^NwUgRK-A3I*-B0bIo~2%(UZh^7_EWD@Z%~J*cc>4j
z52?e{r_`6!5$YT2Tk06~BhAn(&CxR2i}t2{Xn#6^PNb9QWIBaTrPJt{bULl1b#w_`
zN|(`kx}2_{4YZLq(Pp}auBDr32fcvqq8HLmdJ#QH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@vzzjo&S;w7q-m;eYHVt0vNg3gIhqzW
zEpF;<>Teoo8fseFbZOI_P5YYOY&zPEnnRjXn{~~$<|WN%H?MA9*Sw+m;^wQGuWi1e
zc~kRf^X<*|H1BSHu=&yE$D8*yKi#~q`Gw|}nh!O9(EM@pr_D#2zi$4n`G=O!mhhI8
z7G+CDi@GJR<&2j3Erl({mfDtvmgW{)OMA=Wmfn^#TLxQ}whXsyY`Lc8#+Dr|cedQ$
zvZv*dmd9J3Y&qIWwa#cwZ!Ku8ZtZGa-ny!lZ(Y;6u60A}d95F`eqp0*-nInWTw8~2
zfo-8}v8~5;rR^Hqb+#L9n{1=Dt+r2Xzqhe%T$@*$Pg`(XWLs2QY+G8}thRY=nzrJ$
z(l$ezsjafDx@}S01#Q=~UEg+N+eq7%wry>
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
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -51,28 +57,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
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 525489905c869b78667ce65d4f5ad092274ffeb4..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 7159
zcmc&Yd3;k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ata/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 95c7570943d64302e20f0e48f17701fd13339610..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 20051
zcmdsf30#y__y4`m!VZowYzhhv4BPB8%mNI|u&AUWiK5^_1B@^V49
zE$-%UgqLjG)gOO|{80dkKvEQmQcx;NL+L03DUcGWkQ!M~7Rp9BC?5?+#b`8|h$f-Q
zXbP%APBaxwM_$x|TG3223(Y}`(2eLOv<$64x1ih6I#+JrWvE$9KX6Fq`<
zqo>g`=w);Wy@Fmvuc4#p4fGCr7rlqRMyJsk^bI>U@OkWdDw>SI3E|_(YO>}kH_FCxC-BZ9k>xUVK;8Z
z^YDDU058NV@GbaOd>dYgZ^w7wRd@rwA8*9%cq`t9x8rB=b9gU)9`D2Z@d5k-K8R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WB?>#(I}^z4Za>PU}gLHzrq^Tb0|EyEu1Q
z?uy*oa_`7pox36TK<;a~@8zDzJ(>GSo;Po4-oCsec}Me(<-L{nQQjwcpXYsu;0VqHP0giMAx0+?Hm`uo-M7Tb3=yR&1MKn`oP2bJ%Kab+&1?M%z5wLfazSV%sv?
z3fpbA+ik0CTWycqp0(|@?Xw-Q9kd;>y>>7k_HcWoJ;px3
zF0-fFGwdq6#%{IS?D_UW`$&6*eUiP(?yyg_d+n|EHv1fVr~N_uF8ibQ$L+7#KeB&j
V{~D5=@Iz7Jr(crz>HBRz^FNOjmVp2O
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 fcdef4e56c6d8131116ea68572a2477339b5afc4..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 449
zcmV;y0Y3hTP)4#7u}T9$5Qb;wa#zI^Rth#o8@1510UNLJ1?)sYEqsAA#~}yi
zw6U^FVIc%86w$`kgFJ$g&VZ@%02Z1vJI-8OSb_w%xS9KBKK|Vqgx`}S$=q=GeS!>i
z2Cf2N7YUzz-%F+TVf$<(P2xD-9)9Joh*0v78suROiBe#*BKk`dB^ws75ep}Q2=J(R
z-h8kH8>1+00PsN&_%-SMv^o{nBfS3$(xx;$y+Fo6o{x?#q>=PZ9@DKWx;dg?2zPSr
zx~r28f&zMT#mU?N^?-5N)nz!?&2zKnijz5kSq0>ttCNl#cy#EBZr*COd;`44Ku@kt
zl}h=H8P>8I1l24NUp8Ri+;*``c-N8VJHp%={~!;8SYD{(0dw;r=Bq?HWCXILbSE8z}7?}g?F5i
z+#Od?Yb4rWEC@!UF&YzMqY0Q8ODGJ+2nmM7|A^k*;*RgFx42w(mes%(x3lki-}iQA
zzIl71EZ4}$NW0_wI;C9GYn15(twTi07%z*FS4!b#?j?cqL1TP*`eF6lj7_Mj3P7
z7_*}`9(=|NEGaSBLZL7b#G}R=1R>U0DLW65z!~vc&?0x0Rx>F6-gVsuZS;QEnB$mf
zKjO_EOJu68t@Z5S;NVa1IpSwsuqyTf+!hr7BwAfeCX*Au-LU*(vDotc+mB(R+zW_{
z5_w)&|62|v2PY|Rg%yVl;hcIk
zgK>YXtA`qjYQ_iu`z~gdxoGQywi;}j4hDJ7Y^2z@=w+{#GW%>fSV<`}$U|)-#l^)K
zuZB_L*mAg}-doW@Y^1n2`oXWUV$0E<5hF^wvXSE8XgF=ebd#G;bjhxV!PGEk*MagMC~Ap_$%jBSzul4mUp{|*4E|A{XA=z-^poiNG-7(Az^{$*x1;vIHHk)
zzHr=o9MLTm(1KV{?Pft62eZ6B4f(%$#%P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*T&hwr+*F-5}L|+)ed#
o^_(t=689K)p~6kZ?}?xI4+ct6d&By9f&c&j07*qoM6N<$f)
-
-
-**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