Skip to content

Commit aaefecb

Browse files
committed
Removed Tests.swift file and added description
1 parent d3441dd commit aaefecb

File tree

4 files changed

+8
-49
lines changed

4 files changed

+8
-49
lines changed

Example/SnappingLayout.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
1212
607FACD81AFB9204008FA782 /* ListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ListViewController.swift */; };
1313
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
14-
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
1514
C065B0E90B797665895AB095 /* Pods_SnappingLayout_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F05A63AC1777C144D6ED739 /* Pods_SnappingLayout_Example.framework */; };
1615
DC5E7D062B358807FCCBB34B /* Pods_SnappingLayout_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B07E184F52EB8858BA7C3B87 /* Pods_SnappingLayout_Tests.framework */; };
1716
/* End PBXBuildFile section */
@@ -37,7 +36,6 @@
3736
607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
3837
607FACE51AFB9204008FA782 /* SnappingLayout_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SnappingLayout_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3938
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
40-
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
4139
72E5D3E0FAB97329B08E2549 /* Pods-SnappingLayout_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnappingLayout_Example.debug.xcconfig"; path = "Target Support Files/Pods-SnappingLayout_Example/Pods-SnappingLayout_Example.debug.xcconfig"; sourceTree = "<group>"; };
4240
767C00D95F0534F97AD71735 /* Pods-SnappingLayout_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnappingLayout_Tests.debug.xcconfig"; path = "Target Support Files/Pods-SnappingLayout_Tests/Pods-SnappingLayout_Tests.debug.xcconfig"; sourceTree = "<group>"; };
4341
7F05A63AC1777C144D6ED739 /* Pods_SnappingLayout_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SnappingLayout_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -121,7 +119,6 @@
121119
607FACE81AFB9204008FA782 /* Tests */ = {
122120
isa = PBXGroup;
123121
children = (
124-
607FACEB1AFB9204008FA782 /* Tests.swift */,
125122
607FACE91AFB9204008FA782 /* Supporting Files */,
126123
);
127124
path = Tests;
@@ -336,7 +333,6 @@
336333
isa = PBXSourcesBuildPhase;
337334
buildActionMask = 2147483647;
338335
files = (
339-
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */,
340336
);
341337
runOnlyForDeploymentPostprocessing = 0;
342338
};

Example/Tests/Tests.swift

Lines changed: 0 additions & 28 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ To run the example project, clone the repo, and run `pod install` from the Examp
1010

1111
## Requirements
1212

13+
iOS 9.0
14+
Swift 4.2
15+
1316
## Installation
1417

1518
SnappingLayout is available through [CocoaPods](https://cocoapods.org). To install

SnappingLayout.podspec

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,20 @@ Pod::Spec.new do |s|
1111
s.version = '0.1.0'
1212
s.summary = 'UICollectionViewFlowLayout with behaviour to snap the cell when scrolling horizontally.'
1313

14-
# This description is used to generate tags and improve search results.
15-
# * Think: What does it do? Why did you write it? What is the focus?
16-
# * Try to keep it short, snappy and to the point.
17-
# * Write the description between the DESC delimiters below.
18-
# * Finally, don't worry about the indent, CocoaPods strips it!
19-
2014
s.description = <<-DESC
21-
TODO: Add long description of the pod here.
22-
DESC
15+
SnappingLayout enables to add a snap behaviour for UICollectionViews.
16+
It works with horizontal scrolling and there are 3 different types: left, center and right.
17+
You can scroll your collection view and it will automatically snap to the chosen position after decelerating.
18+
The snap supports all kinds of collection view configurations: with sectionInset, minimumLineSpacing, contentInset and so forth.
2319
2420
s.homepage = 'https://github.com/getmimo/SnappingLayout'
25-
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
2621
s.license = { :type => 'MIT', :file => 'LICENSE' }
2722
s.author = { 'Kévin' => '[email protected]' }
2823
s.source = { :git => 'https://github.com/Kévin/SnappingLayout.git', :tag => s.version.to_s }
2924
s.social_media_url = 'https://twitter.com/getmimo'
3025
3126
s.ios.deployment_target = '9.0'
27+
s.swift_version = '4.2'
3228
3329
s.source_files = 'SnappingLayout/Classes/**/*'
34-
35-
# s.resource_bundles = {
36-
# 'SnappingLayout' => ['SnappingLayout/Assets/*.png']
37-
# }
38-
39-
# s.public_header_files = 'Pod/Classes/**/*.h'
40-
# s.frameworks = 'UIKit', 'MapKit'
41-
# s.dependency 'AFNetworking', '~> 2.3'
4230
end

0 commit comments

Comments
 (0)