diff --git a/.swift-version b/.swift-version
new file mode 100644
index 0000000..9f55b2c
--- /dev/null
+++ b/.swift-version
@@ -0,0 +1 @@
+3.0
diff --git a/.travis.yml b/.travis.yml
index 96e9b49..e1e0f7f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,9 +5,7 @@ env:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- - brew update || brew update
- - brew outdated xctool || brew upgrade xctool
- - gem install cocoapods
+ - gem install cocoapods --pre
- xcrun simctl list
install: echo "<3"
env:
diff --git a/FileBrowser.podspec b/FileBrowser.podspec
index 6f84de4..2da9b4c 100644
--- a/FileBrowser.podspec
+++ b/FileBrowser.podspec
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "FileBrowser"
- s.version = "0.1.4"
+ s.version = "0.2.0"
s.summary = "Powerful iOS file browser in Swift."
# This description is used to generate tags and improve search results.
diff --git a/FileBrowser.xcodeproj/project.pbxproj b/FileBrowser.xcodeproj/project.pbxproj
index bea4b78..d6fb649 100644
--- a/FileBrowser.xcodeproj/project.pbxproj
+++ b/FileBrowser.xcodeproj/project.pbxproj
@@ -371,7 +371,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 5;
+ CURRENT_PROJECT_VERSION = 6;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@@ -421,7 +421,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 5;
+ CURRENT_PROJECT_VERSION = 6;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -451,7 +451,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 5;
+ DYLIB_CURRENT_VERSION = 6;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = FileBrowser/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -472,7 +472,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 5;
+ DYLIB_CURRENT_VERSION = 6;
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 f06ec05..96c5e0b 100644
--- a/FileBrowser/Info.plist
+++ b/FileBrowser/Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 0.1.4
+ 0.2.0
CFBundleSignature
????
CFBundleVersion
- 5
+ 6
NSPrincipalClass
diff --git a/FileBrowserTests/Info.plist b/FileBrowserTests/Info.plist
index 9417235..a7f3874 100644
--- a/FileBrowserTests/Info.plist
+++ b/FileBrowserTests/Info.plist
@@ -15,10 +15,10 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 0.1.4
+ 0.2.0
CFBundleSignature
????
CFBundleVersion
- 5
+ 6
diff --git a/README.md b/README.md
index 224bbd1..4aa7e7e 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ import FileBrowser
To show the file browser, all you need to do is:
```swift
let fileBrowser = FileBrowser()
-self.presentViewController(fileBrowser, animated: true, completion: nil)
+present(file, animated: true, completion: nil)
```
By default, the file browser will open in your app's documents directory. When users select a file, a preview will be displayed - offering an action sheet of options based on the file type.
@@ -59,7 +59,7 @@ fileBrowser.excludesFilepaths = [secretFile]
### Setting up with [CocoaPods](http://cocoapods.org/?q=FileBrowser)
```ruby
source 'https://github.com/CocoaPods/Specs.git'
-pod 'FileBrowser', '~> 0.1'
+pod 'FileBrowser', '~> 0.2'
```
### Setting up with Carthage
diff --git a/build.sh b/build.sh
index 2bc9ef3..0a27da6 100755
--- a/build.sh
+++ b/build.sh
@@ -1,8 +1,8 @@
#!/bin/bash
# **** Update me when new Xcode versions are released! ****
-PLATFORM="platform=iOS Simulator,OS=9.2,name=iPhone 6"
-SDK="iphonesimulator9.3"
+PLATFORM="platform=iOS Simulator,OS=10.0,name=iPhone 7"
+SDK="iphonesimulator10.0"
# It is pitch black.