diff --git a/README.md b/README.md index 0a28a9b..e6dd5d5 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ iOS 9.0+ | Xcode 8.3+ | Swift 3.0+ ### CocoaPods ```ruby -pod 'RSSelectionMenu' or pod 'RSSelectionMenu', '~> 6.0.5' +pod 'RSSelectionMenu' or pod 'RSSelectionMenu', '~> 6.0.6' ``` ### Carthage diff --git a/RSSelectionMenu.podspec b/RSSelectionMenu.podspec index 91186c6..1214e5c 100644 --- a/RSSelectionMenu.podspec +++ b/RSSelectionMenu.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "RSSelectionMenu" - s.version = "6.0.5" + s.version = "6.0.6" s.summary = "An elegant selection list or dropdown menu for iOS with single or multiple selections." s.description = <<-DESC @@ -22,5 +22,5 @@ Pod::Spec.new do |s| s.source_files = "RSSelectionMenu/**/*.swift" s.requires_arc = true - s.pod_target_xcconfig = { "SWIFT_VERSION" => "5.0" } + s.swift_versions = ['4.2', '5.0', '5.1'] end diff --git a/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate b/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate index cd7c46f..fbd8355 100644 Binary files a/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate and b/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj b/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj index 4155b1d..d12a505 100755 --- a/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj +++ b/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj @@ -382,7 +382,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 6.0.5; + MARKETING_VERSION = 6.0.6; PRODUCT_BUNDLE_IDENTIFIER = com.rushi.RSSelectionMenu; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; @@ -406,7 +406,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 6.0.5; + MARKETING_VERSION = 6.0.6; PRODUCT_BUNDLE_IDENTIFIER = com.rushi.RSSelectionMenu; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; diff --git a/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift b/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift index 973d72b..2619055 100644 --- a/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift +++ b/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift @@ -408,7 +408,7 @@ extension RSSelectionMenu { // present as popover for iPad if let popoverController = tobePresentController.popoverPresentationController { popoverController.sourceView = from.view - popoverController.permittedArrowDirections = .any + popoverController.permittedArrowDirections = [] popoverController.sourceRect = CGRect(x: from.view.bounds.midX, y: from.view.bounds.midY, width: 0, height: 0) } }