diff --git a/AnchoredBottomSheet.podspec b/AnchoredBottomSheet.podspec index c7385e1..8507414 100644 --- a/AnchoredBottomSheet.podspec +++ b/AnchoredBottomSheet.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AnchoredBottomSheet' - s.version = '1.3.1' + s.version = '1.3.2' s.summary = 'iOS Maps like bottom sheet with configurable anchors and reusable pannable View' s.description = <<-DESC diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 67b26c1..baa6312 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - AnchoredBottomSheet (1.3.0) + - AnchoredBottomSheet (1.3.2) DEPENDENCIES: - AnchoredBottomSheet (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - AnchoredBottomSheet: 61c3b5e7b7b448f24899ba2e1fcba6762cbc0b94 + AnchoredBottomSheet: b658d0df794818e21b611098fe516e5bd5f610dd PODFILE CHECKSUM: 9d2fa57cad45113c77064b354f9582a45331dfbf diff --git a/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json b/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json index 6c78a72..74f5509 100644 --- a/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json +++ b/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json @@ -1,6 +1,6 @@ { "name": "AnchoredBottomSheet", - "version": "1.3.0", + "version": "1.3.2", "summary": "iOS Maps like bottom sheet with configurable anchors and reusable pannable View", "description": "This small library tries to achieve this goals:\n1. Provide an easy to use interface to create popup like controller with configurable anchor points\n2. Provide a reusable view that can be used without a popup for some UI cases (split screen for example). Used that way the BottomSheetView will handle it's own pan gesture", "homepage": "https://github.com/havebeenfitz/AnchoredBottomSheet", @@ -13,7 +13,7 @@ }, "source": { "git": "https://github.com/havebeenfitz/AnchoredBottomSheet.git", - "tag": "1.3.0" + "tag": "1.3.2" }, "platforms": { "ios": "10.0" diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 67b26c1..baa6312 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - AnchoredBottomSheet (1.3.0) + - AnchoredBottomSheet (1.3.2) DEPENDENCIES: - AnchoredBottomSheet (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - AnchoredBottomSheet: 61c3b5e7b7b448f24899ba2e1fcba6762cbc0b94 + AnchoredBottomSheet: b658d0df794818e21b611098fe516e5bd5f610dd PODFILE CHECKSUM: 9d2fa57cad45113c77064b354f9582a45331dfbf diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist index b6b2813..6c1d64f 100644 --- a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist +++ b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.3.0 + 1.3.2 CFBundleSignature ???? CFBundleVersion diff --git a/ExampleSPM/ExampleSPM.xcodeproj/ExampleSPM.xcworkspace/contents.xcworkspacedata b/ExampleSPM/ExampleSPM.xcodeproj/ExampleSPM.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index a9d4d3f..0000000 --- a/ExampleSPM/ExampleSPM.xcodeproj/ExampleSPM.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/ExampleSPM/ExampleSPM.xcodeproj/ExampleSPM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ExampleSPM/ExampleSPM.xcodeproj/ExampleSPM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/ExampleSPM/ExampleSPM.xcodeproj/ExampleSPM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/ExampleSPM/ExampleSPM.xcodeproj/project.pbxproj b/ExampleSPM/ExampleSPM.xcodeproj/project.pbxproj deleted file mode 100644 index 903ebeb..0000000 --- a/ExampleSPM/ExampleSPM.xcodeproj/project.pbxproj +++ /dev/null @@ -1,381 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - E48B30DA26490D5400F23269 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E48B30D926490D5400F23269 /* AppDelegate.swift */; }; - E48B30DC26490D5400F23269 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E48B30DB26490D5400F23269 /* SceneDelegate.swift */; }; - E48B30E126490D5400F23269 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E48B30DF26490D5400F23269 /* Main.storyboard */; }; - E48B30E326490D5500F23269 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E48B30E226490D5500F23269 /* Assets.xcassets */; }; - E48B30E626490D5500F23269 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E48B30E426490D5500F23269 /* LaunchScreen.storyboard */; }; - E48B30F0264918D100F23269 /* AnchoredBottomSheet in Frameworks */ = {isa = PBXBuildFile; productRef = E48B30EF264918D100F23269 /* AnchoredBottomSheet */; }; - E48B30FE2649217400F23269 /* ExampleTableViewDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = E48B30FB2649217400F23269 /* ExampleTableViewDataSource.swift */; }; - E48B30FF2649217400F23269 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E48B30FC2649217400F23269 /* ViewController.swift */; }; - E48B31002649217400F23269 /* SplitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E48B30FD2649217400F23269 /* SplitViewController.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - E48B30D626490D5400F23269 /* ExampleSPM.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExampleSPM.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E48B30D926490D5400F23269 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E48B30DB26490D5400F23269 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; - E48B30E026490D5400F23269 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E48B30E226490D5500F23269 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - E48B30E526490D5500F23269 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - E48B30E726490D5500F23269 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E48B30FB2649217400F23269 /* ExampleTableViewDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExampleTableViewDataSource.swift; sourceTree = ""; }; - E48B30FC2649217400F23269 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - E48B30FD2649217400F23269 /* SplitViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitViewController.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - E48B30D326490D5400F23269 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E48B30F0264918D100F23269 /* AnchoredBottomSheet in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - E48B30CD26490D5400F23269 = { - isa = PBXGroup; - children = ( - E48B30D826490D5400F23269 /* ExampleSPM */, - E48B30D726490D5400F23269 /* Products */, - ); - sourceTree = ""; - }; - E48B30D726490D5400F23269 /* Products */ = { - isa = PBXGroup; - children = ( - E48B30D626490D5400F23269 /* ExampleSPM.app */, - ); - name = Products; - sourceTree = ""; - }; - E48B30D826490D5400F23269 /* ExampleSPM */ = { - isa = PBXGroup; - children = ( - E48B30FB2649217400F23269 /* ExampleTableViewDataSource.swift */, - E48B30FD2649217400F23269 /* SplitViewController.swift */, - E48B30FC2649217400F23269 /* ViewController.swift */, - E48B30D926490D5400F23269 /* AppDelegate.swift */, - E48B30DB26490D5400F23269 /* SceneDelegate.swift */, - E48B30DF26490D5400F23269 /* Main.storyboard */, - E48B30E226490D5500F23269 /* Assets.xcassets */, - E48B30E426490D5500F23269 /* LaunchScreen.storyboard */, - E48B30E726490D5500F23269 /* Info.plist */, - ); - path = ExampleSPM; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - E48B30D526490D5400F23269 /* ExampleSPM */ = { - isa = PBXNativeTarget; - buildConfigurationList = E48B30EA26490D5500F23269 /* Build configuration list for PBXNativeTarget "ExampleSPM" */; - buildPhases = ( - E48B30D226490D5400F23269 /* Sources */, - E48B30D326490D5400F23269 /* Frameworks */, - E48B30D426490D5400F23269 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = ExampleSPM; - packageProductDependencies = ( - E48B30EF264918D100F23269 /* AnchoredBottomSheet */, - ); - productName = ExampleSPM; - productReference = E48B30D626490D5400F23269 /* ExampleSPM.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - E48B30CE26490D5400F23269 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1240; - LastUpgradeCheck = 1240; - TargetAttributes = { - E48B30D526490D5400F23269 = { - CreatedOnToolsVersion = 12.4; - }; - }; - }; - buildConfigurationList = E48B30D126490D5400F23269 /* Build configuration list for PBXProject "ExampleSPM" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = E48B30CD26490D5400F23269; - packageReferences = ( - E48B30EE264918D100F23269 /* XCRemoteSwiftPackageReference "AnchoredBottomSheet" */, - ); - productRefGroup = E48B30D726490D5400F23269 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - E48B30D526490D5400F23269 /* ExampleSPM */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - E48B30D426490D5400F23269 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E48B30E626490D5500F23269 /* LaunchScreen.storyboard in Resources */, - E48B30E326490D5500F23269 /* Assets.xcassets in Resources */, - E48B30E126490D5400F23269 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - E48B30D226490D5400F23269 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E48B31002649217400F23269 /* SplitViewController.swift in Sources */, - E48B30FE2649217400F23269 /* ExampleTableViewDataSource.swift in Sources */, - E48B30DA26490D5400F23269 /* AppDelegate.swift in Sources */, - E48B30FF2649217400F23269 /* ViewController.swift in Sources */, - E48B30DC26490D5400F23269 /* SceneDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - E48B30DF26490D5400F23269 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E48B30E026490D5400F23269 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E48B30E426490D5500F23269 /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E48B30E526490D5500F23269 /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - E48B30E826490D5500F23269 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "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 = 14.4; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - E48B30E926490D5500F23269 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-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 = 14.4; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E48B30EB26490D5500F23269 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = ExampleSPM/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.setmysails.anchoredbottomsheet.spm.ExampleSPM; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - E48B30EC26490D5500F23269 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = ExampleSPM/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.setmysails.anchoredbottomsheet.spm.ExampleSPM; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - E48B30D126490D5400F23269 /* Build configuration list for PBXProject "ExampleSPM" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E48B30E826490D5500F23269 /* Debug */, - E48B30E926490D5500F23269 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E48B30EA26490D5500F23269 /* Build configuration list for PBXNativeTarget "ExampleSPM" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E48B30EB26490D5500F23269 /* Debug */, - E48B30EC26490D5500F23269 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - E48B30EE264918D100F23269 /* XCRemoteSwiftPackageReference "AnchoredBottomSheet" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "git@github.com:havebeenfitz/AnchoredBottomSheet.git"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 1.2.0; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - E48B30EF264918D100F23269 /* AnchoredBottomSheet */ = { - isa = XCSwiftPackageProductDependency; - package = E48B30EE264918D100F23269 /* XCRemoteSwiftPackageReference "AnchoredBottomSheet" */; - productName = AnchoredBottomSheet; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = E48B30CE26490D5400F23269 /* Project object */; -} diff --git a/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c..0000000 --- a/ExampleSPM/ExampleSPM.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/ExampleSPM/ExampleSPM/AppDelegate.swift b/ExampleSPM/ExampleSPM/AppDelegate.swift deleted file mode 100644 index 39773a7..0000000 --- a/ExampleSPM/ExampleSPM/AppDelegate.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// AppDelegate.swift -// ExampleSPM -// -// Created by Max Kraev on 10.05.2021. -// - -import UIKit - -@main -class AppDelegate: UIResponder, UIApplicationDelegate { - - - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - return true - } - - // MARK: UISceneSession Lifecycle - - @available(iOS 13.0, *) - func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { - // Called when a new scene session is being created. - // Use this method to select a configuration to create the new scene with. - return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) - } - - @available(iOS 13.0, *) - func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { - // Called when the user discards a scene session. - // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. - // Use this method to release any resources that were specific to the discarded scenes, as they will not return. - } - - -} - diff --git a/ExampleSPM/ExampleSPM/Assets.xcassets/AccentColor.colorset/Contents.json b/ExampleSPM/ExampleSPM/Assets.xcassets/AccentColor.colorset/Contents.json deleted file mode 100644 index eb87897..0000000 --- a/ExampleSPM/ExampleSPM/Assets.xcassets/AccentColor.colorset/Contents.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "colors" : [ - { - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/ExampleSPM/ExampleSPM/Assets.xcassets/AppIcon.appiconset/Contents.json b/ExampleSPM/ExampleSPM/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 9221b9b..0000000 --- a/ExampleSPM/ExampleSPM/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "60x60" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "60x60" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "20x20" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "20x20" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "29x29" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "29x29" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "40x40" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "40x40" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "76x76" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "76x76" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "83.5x83.5" - }, - { - "idiom" : "ios-marketing", - "scale" : "1x", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/ExampleSPM/ExampleSPM/Assets.xcassets/Contents.json b/ExampleSPM/ExampleSPM/Assets.xcassets/Contents.json deleted file mode 100644 index 73c0059..0000000 --- a/ExampleSPM/ExampleSPM/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/ExampleSPM/ExampleSPM/Assets.xcassets/icon16Close.imageset/Contents.json b/ExampleSPM/ExampleSPM/Assets.xcassets/icon16Close.imageset/Contents.json deleted file mode 100644 index 3bb5fda..0000000 --- a/ExampleSPM/ExampleSPM/Assets.xcassets/icon16Close.imageset/Contents.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "images" : [ - { - "filename" : "icon16Close.pdf", - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/ExampleSPM/ExampleSPM/Assets.xcassets/icon16Close.imageset/icon16Close.pdf b/ExampleSPM/ExampleSPM/Assets.xcassets/icon16Close.imageset/icon16Close.pdf deleted file mode 100644 index 402c457..0000000 Binary files a/ExampleSPM/ExampleSPM/Assets.xcassets/icon16Close.imageset/icon16Close.pdf and /dev/null differ diff --git a/ExampleSPM/ExampleSPM/Base.lproj/LaunchScreen.storyboard b/ExampleSPM/ExampleSPM/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index 865e932..0000000 --- a/ExampleSPM/ExampleSPM/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ExampleSPM/ExampleSPM/Base.lproj/Main.storyboard b/ExampleSPM/ExampleSPM/Base.lproj/Main.storyboard deleted file mode 100644 index 212fff3..0000000 --- a/ExampleSPM/ExampleSPM/Base.lproj/Main.storyboard +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ExampleSPM/ExampleSPM/ExampleTableViewDataSource.swift b/ExampleSPM/ExampleSPM/ExampleTableViewDataSource.swift deleted file mode 100644 index 2d2355a..0000000 --- a/ExampleSPM/ExampleSPM/ExampleTableViewDataSource.swift +++ /dev/null @@ -1,34 +0,0 @@ -// -// ExampleTableViewDataSource.swift -// AnchoredBottomSheet_Example -// -// Created by Max Kraev on 19.01.2020. -// Copyright © 2020 CocoaPods. All rights reserved. -// - -import UIKit -import AnchoredBottomSheet - -class ExampleTableViewDataSource: NSObject { - - lazy var tableView: UITableView = { - let tableView = UITableView() - tableView.dataSource = self - tableView.tableFooterView = UIView() - tableView.register(UITableViewCell.self, forCellReuseIdentifier: "BasicCell") - - return tableView - }() -} - -extension ExampleTableViewDataSource: UITableViewDataSource { - func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { - return 20 - } - - func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { - let cell = tableView.dequeueReusableCell(withIdentifier: "BasicCell", for: indexPath) - cell.textLabel?.text = "Index is \(indexPath.row)" - return cell - } -} diff --git a/ExampleSPM/ExampleSPM/Info.plist b/ExampleSPM/ExampleSPM/Info.plist deleted file mode 100644 index 5b531f7..0000000 --- a/ExampleSPM/ExampleSPM/Info.plist +++ /dev/null @@ -1,66 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - UIWindowSceneSessionRoleApplication - - - UISceneConfigurationName - Default Configuration - UISceneDelegateClassName - $(PRODUCT_MODULE_NAME).SceneDelegate - UISceneStoryboardFile - Main - - - - - UIApplicationSupportsIndirectInputEvents - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/ExampleSPM/ExampleSPM/SceneDelegate.swift b/ExampleSPM/ExampleSPM/SceneDelegate.swift deleted file mode 100644 index 977f7ef..0000000 --- a/ExampleSPM/ExampleSPM/SceneDelegate.swift +++ /dev/null @@ -1,53 +0,0 @@ -// -// SceneDelegate.swift -// ExampleSPM -// -// Created by Max Kraev on 10.05.2021. -// - -import UIKit - -@available(iOS 13.0, *) -class SceneDelegate: UIResponder, UIWindowSceneDelegate { - - var window: UIWindow? - - - func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { - // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). - guard let _ = (scene as? UIWindowScene) else { return } - } - - func sceneDidDisconnect(_ scene: UIScene) { - // Called as the scene is being released by the system. - // This occurs shortly after the scene enters the background, or when its session is discarded. - // Release any resources associated with this scene that can be re-created the next time the scene connects. - // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). - } - - func sceneDidBecomeActive(_ scene: UIScene) { - // Called when the scene has moved from an inactive state to an active state. - // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. - } - - func sceneWillResignActive(_ scene: UIScene) { - // Called when the scene will move from an active state to an inactive state. - // This may occur due to temporary interruptions (ex. an incoming phone call). - } - - func sceneWillEnterForeground(_ scene: UIScene) { - // Called as the scene transitions from the background to the foreground. - // Use this method to undo the changes made on entering the background. - } - - func sceneDidEnterBackground(_ scene: UIScene) { - // Called as the scene transitions from the foreground to the background. - // Use this method to save data, release shared resources, and store enough scene-specific state information - // to restore the scene back to its current state. - } - - -} - diff --git a/ExampleSPM/ExampleSPM/SplitViewController.swift b/ExampleSPM/ExampleSPM/SplitViewController.swift deleted file mode 100644 index a22a73f..0000000 --- a/ExampleSPM/ExampleSPM/SplitViewController.swift +++ /dev/null @@ -1,68 +0,0 @@ -// -// SplitViewController.swift -// AnchoredBottomSheet_Example -// -// Created by Max Kraev on 20.01.2020. -// Copyright © 2020 CocoaPods. All rights reserved. -// - -import UIKit -import AnchoredBottomSheet - -class SplitViewController: UIViewController { - private let yellowView: UIView = { - let view = UIView() - view.backgroundColor = .systemYellow - return view - }() - - private lazy var bottomSheetView: BottomSheetView = { - let config = BottomSheetViewConfiguration(contentView: UIView(), - parentViewController: self, - defaultPosition: .middle(), - positions: [.top(), .middle(), .bottom()], - isSlidingToAppear: false, - isPullIndicatorNeeded: true, - isDismissAllowed: false) - let view = BottomSheetView(configuration: config) - view.delegate = self - - return view - }() - - override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { - super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) - setup() - } - - required init?(coder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - override func viewWillAppear(_ animated: Bool) { - super.viewWillAppear(animated) - bottomSheetView.didSetupConstraints = true - } - - private func setup() { - view.backgroundColor = .red - view.addSubview(yellowView) - view.addSubview(bottomSheetView) - - bottomSheetView.snp.makeConstraints { make in - make.left.right.bottom.equalToSuperview() - make.height.equalTo(0) - } - - yellowView.snp.makeConstraints { make in - make.left.top.right.equalToSuperview() - make.bottom.equalTo(bottomSheetView.snp.top).inset(20) - } - } -} - -extension SplitViewController: BottomSheetViewDelegate { - func heightDidChange(to y: CGFloat) { - print("Height did change to: \(y)") - } -} diff --git a/ExampleSPM/ExampleSPM/ViewController.swift b/ExampleSPM/ExampleSPM/ViewController.swift deleted file mode 100644 index b28da58..0000000 --- a/ExampleSPM/ExampleSPM/ViewController.swift +++ /dev/null @@ -1,143 +0,0 @@ -// -// ViewController.swift -// AnchoredBottomSheet -// -// Created by havebeenfitz on 01/19/2020. -// Copyright (c) 2020 havebeenfitz. All rights reserved. -// - -import UIKit -import AnchoredBottomSheet -import SnapKit - -class ViewController: UIViewController { - - let data = ExampleTableViewDataSource() - - private lazy var tableView: UITableView = { - let tableView = UITableView() - tableView.tableFooterView = UIView() - tableView.delegate = self - tableView.dataSource = self - - tableView.register(UITableViewCell.self, forCellReuseIdentifier: "BasicCell") - - return tableView - }() - - override func viewDidLoad() { - super.viewDidLoad() - setup() - } - - private func setup() { - view.addSubview(tableView) - tableView.snp.makeConstraints { make in - make.edges.equalToSuperview() - } - } - - fileprivate func presentModal(at index: Int) { - switch index { - case 0: - presentModalWithStackView() - case 1: - presentModalWithTableView() - case 2: - pushSplitScreen() - default: - break - } - } - - private func presentModalWithStackView() { - let button1 = UIButton(frame: CGRect(x: 0, y: 0, width: 100, height: 60)) - button1.backgroundColor = .green - - let button2 = UIButton(frame: CGRect(x: 0, y: 0, width: 100, height: 60)) - button2.backgroundColor = .red - - let button3 = UIButton(frame: CGRect(x: 0, y: 0, width: 100, height: 60)) - button3.backgroundColor = .yellow - - - let stackView = UIStackView() - stackView.axis = .vertical - stackView.spacing = 5 - stackView.distribution = .fillEqually - stackView.addArrangedSubview(button1) - stackView.addArrangedSubview(button2) - stackView.addArrangedSubview(button3) - - let configuration = BottomSheetViewConfiguration(contentView: stackView, - parentViewController: self, - defaultPosition: .middle(), - positions: [.middle(), .top()], - isPullIndicatorNeeded: true, - closeButtonIcon: UIImage(named: "icon16Close"), - isDismissAllowed: true) - let bottomSheetView = BottomSheetView(configuration: configuration) - let bottomSheetViewController = BottomSheetViewController(bottomSheetView: bottomSheetView) - - bottomSheetViewController.delegate = self - bottomSheetViewController.present(from: self) - } - - func presentModalWithTableView() { - - let configuration = BottomSheetViewConfiguration(contentView: data.tableView, - parentViewController: self, - defaultPosition: .middle(), - positions: [.middle(), .top(), .bottom()], - isPullIndicatorNeeded: true, - closeButtonIcon: UIImage(named: "icon16Close"), - isDismissAllowed: true) - let bottomSheetView = BottomSheetView(configuration: configuration) - let bottomSheetViewController = BottomSheetViewController(bottomSheetView: bottomSheetView) - - bottomSheetViewController.delegate = self - bottomSheetViewController.present(from: self) - - data.tableView.reloadData() - } - - func pushSplitScreen() { - navigationController?.pushViewController(SplitViewController(), animated: true) - } -} - -extension ViewController: UITableViewDelegate { - func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { - presentModal(at: indexPath.row) - } -} - -extension ViewController: UITableViewDataSource { - func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { - return 5 - } - - func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { - let cell = tableView.dequeueReusableCell(withIdentifier: "BasicCell", for: indexPath) - switch indexPath.row { - case 0: - cell.textLabel?.text = "Present with stackView" - return cell - case 1: - cell.textLabel?.text = "Present with tableView" - return cell - case 2: - cell.textLabel?.text = "Push \"split screen\"" - return cell - default: - return UITableViewCell() - } - } -} - -extension ViewController: BottomSheetViewControllerDelegate { - func didDismiss() { - print("dismissed") - } -} -