Skip to content

Commit 3fa0264

Browse files
author
roman.sherbakov
committed
[Change] changed deployment target version
1 parent 45ede38 commit 3fa0264

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

DisplaySwitcher.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "DisplaySwitcher"
4-
s.version = "0.1.0"
4+
s.version = "0.1.1"
55
s.summary = "This component implements custom transition between two collection view layouts."
66
s.screenshot = 'https://d13yacurqjgara.cloudfront.net/users/116693/screenshots/2276068/open-uri20151005-3-walc59'
77

@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
s.platform = :ios, '8.0'
1414
s.ios.deployment_target = '8.0'
1515

16-
s.source = { :git => "https://github.com/Yalantis/DisplaySwitcher.git", :tag => '0.1.0' }
16+
s.source = { :git => "https://github.com/Yalantis/DisplaySwitcher.git", :tag => "0.1.1" }
1717
s.source_files = 'Pod/Classes/**/*'
1818

1919
s.requires_arc = true

Example/DisplaySwitcher.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@
661661
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
662662
CLANG_ENABLE_MODULES = YES;
663663
INFOPLIST_FILE = DisplaySwitcher/Info.plist;
664-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
664+
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
665665
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
666666
MODULE_NAME = ExampleApp;
667667
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
@@ -678,7 +678,7 @@
678678
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
679679
CLANG_ENABLE_MODULES = YES;
680680
INFOPLIST_FILE = DisplaySwitcher/Info.plist;
681-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
681+
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
682682
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
683683
MODULE_NAME = ExampleApp;
684684
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";

Example/DisplaySwitcher/Base.lproj/Main.storyboard

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9059" systemVersion="14F1505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="KUR-je-Sh7">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="KUR-je-Sh7">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9049"/>
4+
<deployment identifier="iOS"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
56
</dependencies>
67
<scenes>
78
<!--Navigation Controller-->

Example/DisplaySwitcher/ViewControllers/UserViewController/UserViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class UserViewController: UIViewController {
4444
}
4545

4646
private func addGestureRecognizerToNavBar() {
47-
let tapRecognizer = UITapGestureRecognizer(target: self, action: "tapRecognized")
47+
let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(UserViewController.tapRecognized))
4848
navigationController!.navigationBar.addGestureRecognizer(tapRecognizer)
4949
}
5050

Pod/Classes/Layouts/BaseLayout/BaseLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class BaseLayout: UICollectionViewLayout {
7474
baseLayoutAttributes.append(attributes)
7575
contentHeight = max(contentHeight, CGRectGetMaxY(frame))
7676
yOffset[column] = yOffset[column] + height
77-
column = column == (numberOfColumns - 1) ? 0 : ++column
77+
column = column == (numberOfColumns - 1) ? 0 : column + 1
7878
}
7979
}
8080

Pod/Classes/TransitionManager/TransitionManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class TransitionManager {
4444
// MARK: - Private methods
4545
private func createUpdaterAndStart() {
4646
start = CACurrentMediaTime()
47-
updater = CADisplayLink(target: self, selector: Selector("updateTransitionProgress"))
47+
updater = CADisplayLink(target: self, selector: #selector(updateTransitionProgress))
4848
updater.frameInterval = 1
4949
updater.addToRunLoop(NSRunLoop.currentRunLoop(), forMode: NSRunLoopCommonModes)
5050
}

0 commit comments

Comments
 (0)