diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
new file mode 100644
index 00000000..bffc2fa1
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE.md
@@ -0,0 +1,11 @@
+Before submitting issues ...
+
+- Make sure you are using XLPagerTabStrip [latest release](https://github.com/xmartlabs/XLPagerTabStrip/releases) or master branch version.
+- Make sure your Xcode version is the latest stable one.
+- Check if the issue was [already reported or fixed](https://github.com/xmartlabs/XLPagerTabStrip/issues?utf8=%E2%9C%93&q=is%3Aissue). We add labels to each issue in order to easily find related issues. If you found a match add a brief comment "I have the same problem" or "+1".
+
+When submitting issues, please provide the following information to help maintainers to fix the problem faster:
+
+- Environment: XLPagerTabStrip, Xcode and iOS version you are using.
+- In case of reporting errors, provide Xcode console output of stack trace or code compilation error.
+- Any other additional detail such as example code that you think it would be useful to understand, reproduce and solve the problem.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 00000000..e69de29b
diff --git a/.travis.yml b/.travis.yml
index 549910f6..2022ed9e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,16 @@
language: objective-c
-osx_image: xcode7.2
-
+osx_image: xcode7.3
+env:
+ - DESTINATION="OS=9.3,name=iPhone 6s" SCHEME="XLPagerTabStrip" SDK=iphonesimulator9.3
before_install:
- brew update
-- brew outdated carthage || brew upgrade carthage
+#- brew outdated carthage || brew upgrade carthage
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
-- carthage update --platform iOS
+#- carthage update --platform iOS
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
-- xctool clean build -project XLPagerTabStrip.xcodeproj -scheme XLPagerTabStrip -sdk iphonesimulator
-- xctool test -project XLPagerTabStrip.xcodeproj -scheme XLPagerTabStrip -sdk iphonesimulator
+- xctool clean build -project XLPagerTabStrip.xcodeproj -scheme XLPagerTabStrip -sdk iphonesimulator9.3
+#- xctool test -project XLPagerTabStrip.xcodeproj -scheme XLPagerTabStrip -sdk iphonesimulator9.3
+- xcodebuild -project XLPagerTabStrip.xcodeproj -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION"
+ -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c45fcd43..6518e1c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,11 @@
# Change Log
All notable changes to XLPagerTabStrip will be documented in this file.
+### [5.0.0](https://github.com/xmartlabs/XLPagerTabStrip/releases/tag/5.0.0)
+
+* Xcode 7.3 support.
+* Bug fixes and stability improvements.
+
### [4.0.2](https://github.com/xmartlabs/XLPagerTabStrip/releases/tag/4.0.2)
* Bug fixes
diff --git a/README.md b/README.md
index e0a69e98..ba070f7a 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
-
+
@@ -287,7 +287,7 @@ settings.style.segmentedControlColor: UIColor?
## Requirements
* iOS 8.0+
-* Xcode 7.2+
+* Xcode 7.3+
## Examples
@@ -302,7 +302,7 @@ Follow these 3 steps to run Example project: Clone XLPagerTabStrip repository, o
To install XLPagerTabStrip, simply add the following line to your Podfile:
```ruby
-pod 'XLPagerTabStrip', '~> 4.0'
+pod 'XLPagerTabStrip', '~> 5.0'
```
### Carthage
@@ -312,7 +312,7 @@ pod 'XLPagerTabStrip', '~> 4.0'
To install XLPagerTabStrip, simply add the following line to your Cartfile:
```ogdl
-github "xmartlabs/XLPagerTabStrip" ~> 4.0
+github "xmartlabs/XLPagerTabStrip" ~> 5.0
```
## FAQ
diff --git a/Sources/SegmentedPagerTabStripViewController.swift b/Sources/SegmentedPagerTabStripViewController.swift
index 937ba096..2575261a 100644
--- a/Sources/SegmentedPagerTabStripViewController.swift
+++ b/Sources/SegmentedPagerTabStripViewController.swift
@@ -62,7 +62,7 @@ public class SegmentedPagerTabStripViewController: PagerTabStripViewController,
navigationItem.titleView = segmentedControl
}
segmentedControl.tintColor = settings.style.segmentedControlColor ?? segmentedControl.tintColor
- segmentedControl.addTarget(self, action: "segmentedControlChanged:", forControlEvents: .ValueChanged)
+ segmentedControl.addTarget(self, action: #selector(SegmentedPagerTabStripViewController.segmentedControlChanged(_:)), forControlEvents: .ValueChanged)
reloadSegmentedControl()
}
diff --git a/XLPagerTabStrip.podspec b/XLPagerTabStrip.podspec
index 33710bae..0310027c 100644
--- a/XLPagerTabStrip.podspec
+++ b/XLPagerTabStrip.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "XLPagerTabStrip"
- s.version = "4.0.2"
+ s.version = "5.0.0"
s.summary = "Android PagerTabStrip for iOS and much more."
s.homepage = "https://github.com/xmartlabs/XLPagerTabStrip"
s.license = { type: 'MIT', file: 'LICENSE' }
diff --git a/XLPagerTabStrip/Info.plist b/XLPagerTabStrip/Info.plist
index aa594088..e6771905 100644
--- a/XLPagerTabStrip/Info.plist
+++ b/XLPagerTabStrip/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.0.2
+ 5.0.0
CFBundleSignature
????
CFBundleVersion