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/.travis.yml b/.travis.yml index e1e0f7f..cad38c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -osx_image: xcode8 +osx_image: xcode9 language: objective-c env: global: diff --git a/FileBrowser.podspec b/FileBrowser.podspec index 37c9ece..dc0f291 100644 --- a/FileBrowser.podspec +++ b/FileBrowser.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "FileBrowser" - s.version = "0.3.0" + s.version = "1.0.0" s.summary = "Powerful iOS file browser in Swift." # This description is used to generate tags and improve search results. @@ -32,6 +32,7 @@ Pod::Spec.new do |s| s.source_files = "FileBrowser" s.resources = "FileBrowser/Resources/*.*" + s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' } # s.public_header_files = 'Pod/Classes/**/*.h' s.frameworks = 'QuickLook', 'WebKit' diff --git a/FileBrowser.xcodeproj/project.pbxproj b/FileBrowser.xcodeproj/project.pbxproj index 0187c36..cfa9797 100644 --- a/FileBrowser.xcodeproj/project.pbxproj +++ b/FileBrowser.xcodeproj/project.pbxproj @@ -379,7 +379,7 @@ CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "-"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 7; + CURRENT_PROJECT_VERSION = 8; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -437,7 +437,7 @@ CODE_SIGN_IDENTITY = "-"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "-"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 7; + CURRENT_PROJECT_VERSION = 8; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -467,7 +467,7 @@ CLANG_ENABLE_MODULES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 7; + DYLIB_CURRENT_VERSION = 8; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = FileBrowser/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -486,7 +486,7 @@ CLANG_ENABLE_MODULES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 7; + DYLIB_CURRENT_VERSION = 8; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = FileBrowser/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; diff --git a/FileBrowser/Info.plist b/FileBrowser/Info.plist index b0733c0..6bcadbe 100644 --- a/FileBrowser/Info.plist +++ b/FileBrowser/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.3.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 7 + 8 NSPrincipalClass diff --git a/FileBrowserTests/Info.plist b/FileBrowserTests/Info.plist index 73f9be9..02a599b 100644 --- a/FileBrowserTests/Info.plist +++ b/FileBrowserTests/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.3.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 7 + 8 diff --git a/README.md b/README.md index 6a28bae..6dc6bab 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) # FileBrowser -iOS Finder-style file browser in Swift with search, file previews and 3D touch. Simple and quick to use. +iOS Finder-style file browser in Swift 4.0 with search, file previews and 3D touch. Simple and quick to use.

@@ -16,7 +16,7 @@ iOS Finder-style file browser in Swift with search, file previews and 3D touch. :iphone: | Browse and select files and folders with a familiar UI on iOS. :mag: | Pull down to search. :eyeglasses: | Preview most file types. Including plist and json. -:pencil: | Edit/delete files. +:pencil: | Edit/delete files. :point_up_2: | 3D touch support for faster previews with Peek & Pop. :white_flower: | Fully customizable. @@ -64,7 +64,7 @@ fileBrowser.excludesFilepaths = [secretFile] ### Setting up with [CocoaPods](http://cocoapods.org/?q=FileBrowser) ```ruby source 'https://github.com/CocoaPods/Specs.git' -pod 'FileBrowser', '~> 0.3' +pod 'FileBrowser', '~> 1.0' ``` ### Setting up with Carthage diff --git a/build.sh b/build.sh index f74f989..4dc1414 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # **** Update me when new Xcode versions are released! **** -PLATFORM="platform=iOS Simulator,OS=10.0,name=iPhone 7" +PLATFORM="platform=iOS Simulator,OS=11.0,name=iPhone 8" SDK="iphonesimulator10.0"