Skip to content

Commit

Permalink
- update test project to support Swift4 \n-update pod version to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romansorochak committed Sep 26, 2017
1 parent 43330d9 commit 8685592
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 6 deletions.
20 changes: 20 additions & 0 deletions Exmple/CollectionView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// CollectionView.swift
// ParallaxHeader
//
// Created by Roman Sorochak on 7/11/17.
// Copyright © 2017 MagicLab. All rights reserved.
//

import UIKit


class CollectionView: UICollectionView {


override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
super.touchesMoved(touches, with: event)

print("CollectionView: touchesMoved")
}
}
19 changes: 19 additions & 0 deletions Exmple/TableView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// TableView.swift
// ParallaxHeader
//
// Created by Roman Sorochak on 7/11/17.
// Copyright © 2017 MagicLab. All rights reserved.
//

import UIKit


class TableView: UITableView {


override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
print("TableView: touchesMoved")

}
}
2 changes: 1 addition & 1 deletion ParallaxHeader.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ParallaxHeader"
s.version = "1.0.6"
s.version = "2.0.0"
s.summary = "Simple way to add parallax header to scrollView/tableView"
s.description = "The ParallaxHeader allows to add parallax header to UIScrollView and it's subclasses within UIScrollView extension"
s.homepage = "https://github.com/romansorochak"
Expand Down
14 changes: 13 additions & 1 deletion ParallaxHeader.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 0830;
LastUpgradeCheck = 0900;
ORGANIZATIONNAME = MagicLab;
TargetAttributes = {
B5CCB78C1EFD0E5400194CFB = {
Expand Down Expand Up @@ -669,15 +669,21 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down Expand Up @@ -723,15 +729,21 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
PODS:
- RSReusable (1.0.10)
- SnapKit (3.2.0)
- RSReusable (1.0.12)
- SnapKit (4.0.0)

DEPENDENCIES:
- RSReusable
- SnapKit

SPEC CHECKSUMS:
RSReusable: 516632745324ac679a4a70d3a3016432838844a3
SnapKit: 1ca44df72cfa543218d177cb8aab029d10d86ea7
RSReusable: e7888dff90fbaf01b9b01169875730be4a04e818
SnapKit: a42d492c16e80209130a3379f73596c3454b7694

PODFILE CHECKSUM: 3c522e1f0f4d68a6e342b12a8c2de173654d2cf8

Expand Down

0 comments on commit 8685592

Please sign in to comment.