From de41adb715af70a2115b80d09d992c6878b0a549 Mon Sep 17 00:00:00 2001 From: Kobi Meirson Date: Tue, 7 Jul 2015 12:38:29 +0300 Subject: [PATCH] Committing xcode schemes for Travis CI --- .gitignore | 2 +- .../xcschemes/TinderLike.xcscheme | 112 ++++++++++++++++++ .../xcschemes/TwitterLike.xcscheme | 112 ++++++++++++++++++ SLPagingViewSwift/SLPagingViewSwift.swift | 3 +- 4 files changed, 226 insertions(+), 3 deletions(-) create mode 100644 Demos/TinderLike/TinderLike.xcodeproj/xcshareddata/xcschemes/TinderLike.xcscheme create mode 100644 Demos/TwitterLike/TwitterLike.xcodeproj/xcshareddata/xcschemes/TwitterLike.xcscheme diff --git a/.gitignore b/.gitignore index 425ce0c..35cfb4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store xcuserdata -xcshareddata +project.xcworkspace diff --git a/Demos/TinderLike/TinderLike.xcodeproj/xcshareddata/xcschemes/TinderLike.xcscheme b/Demos/TinderLike/TinderLike.xcodeproj/xcshareddata/xcschemes/TinderLike.xcscheme new file mode 100644 index 0000000..819bb99 --- /dev/null +++ b/Demos/TinderLike/TinderLike.xcodeproj/xcshareddata/xcschemes/TinderLike.xcscheme @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demos/TwitterLike/TwitterLike.xcodeproj/xcshareddata/xcschemes/TwitterLike.xcscheme b/Demos/TwitterLike/TwitterLike.xcodeproj/xcshareddata/xcschemes/TwitterLike.xcscheme new file mode 100644 index 0000000..511bbda --- /dev/null +++ b/Demos/TwitterLike/TwitterLike.xcodeproj/xcshareddata/xcschemes/TwitterLike.xcscheme @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SLPagingViewSwift/SLPagingViewSwift.swift b/SLPagingViewSwift/SLPagingViewSwift.swift index c382c74..3aa8b0d 100644 --- a/SLPagingViewSwift/SLPagingViewSwift.swift +++ b/SLPagingViewSwift/SLPagingViewSwift.swift @@ -240,8 +240,7 @@ public class SLPagingViewSwift: UIViewController, UIScrollViewDelegate { self.scrollView.contentSize = CGSize(width: width, height: height) var i: Int = 0 for (key, v) in self.views { - let rect: CGRect = CGRectMake(self.SCREENSIZE.width * CGFloat(i), 0, self.SCREENSIZE.width, self.SCREENSIZE.height) - v.frame = rect + v.frame = CGRectMake(self.SCREENSIZE.width * CGFloat(i), 0, self.SCREENSIZE.width, self.SCREENSIZE.height) self.scrollView.addSubview(v) i++ }