diff --git a/BlogPostScreenshot.png b/BlogPostScreenshot.png
index 8ab9181..8ad4b65 100644
Binary files a/BlogPostScreenshot.png and b/BlogPostScreenshot.png differ
diff --git a/Example/RHPreviewCellExample/Podfile b/Example/RHPreviewCellExample/Podfile
index ec8c92c..afaee35 100644
--- a/Example/RHPreviewCellExample/Podfile
+++ b/Example/RHPreviewCellExample/Podfile
@@ -3,5 +3,5 @@ platform :ios, '8.0'
use_frameworks!
target 'RHPreviewCellExample' do
-pod 'RHPreviewCell'
+ #pod 'RHPreviewCell'
end
\ No newline at end of file
diff --git a/Example/RHPreviewCellExample/Pods/Pods.xcodeproj/xcuserdata/robertherdzik.xcuserdatad/xcschemes/Pods-RHPreviewCellExample.xcscheme b/Example/RHPreviewCellExample/Pods/Pods.xcodeproj/xcuserdata/robertherdzik.xcuserdatad/xcschemes/Pods-RHPreviewCellExample.xcscheme
index 2d7f777..feb7ca3 100644
--- a/Example/RHPreviewCellExample/Pods/Pods.xcodeproj/xcuserdata/robertherdzik.xcuserdatad/xcschemes/Pods-RHPreviewCellExample.xcscheme
+++ b/Example/RHPreviewCellExample/Pods/Pods.xcodeproj/xcuserdata/robertherdzik.xcuserdatad/xcschemes/Pods-RHPreviewCellExample.xcscheme
@@ -7,30 +7,33 @@
buildImplicitDependencies = "YES">
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "1F7D5213D5D43DDCED6E160DB0340985"
+ BuildableName = "Pods_RHPreviewCellExample.framework"
+ BlueprintName = "Pods-RHPreviewCellExample"
+ ReferencedContainer = "container:Pods.xcodeproj">
+ shouldUseLaunchSchemeArgsEnv = "YES">
+
+
+
+
+
+
+ debugDocumentVersioning = "YES">
diff --git a/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift b/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift
index acbbde8..da16aeb 100644
--- a/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift
+++ b/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift
@@ -43,10 +43,10 @@ class RHPreviewTableViewCellTilesAnimator: RHPreviewTableViewCellTilesAnimationP
UIView.animateWithDuration(0.5,
delay: 0,
usingSpringWithDamping: 0.4,
- initialSpringVelocity: 0.2,
+ initialSpringVelocity: 0.9,
options: UIViewAnimationOptions.CurveEaseInOut,
animations: {
- let scale = CGFloat(0.8)
+ let scale = CGFloat(0.89)
tile.transform = CGAffineTransformMakeScale(scale, scale)
}, completion: nil)
}
diff --git a/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift b/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift
index f82fb15..74abd4d 100644
--- a/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift
+++ b/Example/RHPreviewCellExample/Pods/RHPreviewCell/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift
@@ -112,9 +112,9 @@ private extension RHPreviewTilesContainerView {
}
func layoutTiles() {
- let horizontalSpacing = CGFloat(1)
- let tileOffset = CGFloat(0)
- var prevTileMaxX = tileOffset
+ let horizontalSpacing = CGFloat(2)
+ let tileOffset = CGFloat(-4)
+ var prevTileMaxX = horizontalSpacing
for tile in tiles {
let tileBorderSize = bounds.height + tileOffset
let frame = CGRect(x: prevTileMaxX, y: -tileOffset/2, width: tileBorderSize, height: tileBorderSize)
diff --git a/Example/RHPreviewCellExample/RHPreviewCellExample/AppDelegate.swift b/Example/RHPreviewCellExample/RHPreviewCellExample/AppDelegate.swift
index 2ea596d..a90ba6c 100644
--- a/Example/RHPreviewCellExample/RHPreviewCellExample/AppDelegate.swift
+++ b/Example/RHPreviewCellExample/RHPreviewCellExample/AppDelegate.swift
@@ -12,6 +12,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
let mainVC = ViewController(withMock: RHMockCellsModel())
mainVC.title = "RHPreviewCell"
+
let navigationController = UINavigationController(rootViewController: mainVC)
window?.rootViewController = navigationController
window?.makeKeyAndVisible()
diff --git a/Example/RHPreviewCellExample/RHPreviewCellExample/ViewController.swift b/Example/RHPreviewCellExample/RHPreviewCellExample/ViewController.swift
index e77aab5..1e5dca6 100644
--- a/Example/RHPreviewCellExample/RHPreviewCellExample/ViewController.swift
+++ b/Example/RHPreviewCellExample/RHPreviewCellExample/ViewController.swift
@@ -85,6 +85,7 @@ extension ViewController: UITableViewDataSource {
cell.delegate = self
cell.dataSource = self
cell.textLabel?.text = mockModel.cells[indexPath.row].title
+ cell.textLabel?.font = UIFont(name: "Didot", size: 20)
return cell
}
diff --git a/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift b/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift
index acbbde8..da16aeb 100644
--- a/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift
+++ b/RHPReviewCell/RHPreviewCellSource/RHPreviewTableViewCellTilesAnimator.swift
@@ -43,10 +43,10 @@ class RHPreviewTableViewCellTilesAnimator: RHPreviewTableViewCellTilesAnimationP
UIView.animateWithDuration(0.5,
delay: 0,
usingSpringWithDamping: 0.4,
- initialSpringVelocity: 0.2,
+ initialSpringVelocity: 0.9,
options: UIViewAnimationOptions.CurveEaseInOut,
animations: {
- let scale = CGFloat(0.8)
+ let scale = CGFloat(0.89)
tile.transform = CGAffineTransformMakeScale(scale, scale)
}, completion: nil)
}
diff --git a/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift b/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift
index f82fb15..74abd4d 100644
--- a/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift
+++ b/RHPReviewCell/RHPreviewCellSource/RHPreviewTilesContainerView.swift
@@ -112,9 +112,9 @@ private extension RHPreviewTilesContainerView {
}
func layoutTiles() {
- let horizontalSpacing = CGFloat(1)
- let tileOffset = CGFloat(0)
- var prevTileMaxX = tileOffset
+ let horizontalSpacing = CGFloat(2)
+ let tileOffset = CGFloat(-4)
+ var prevTileMaxX = horizontalSpacing
for tile in tiles {
let tileBorderSize = bounds.height + tileOffset
let frame = CGRect(x: prevTileMaxX, y: -tileOffset/2, width: tileBorderSize, height: tileBorderSize)
diff --git a/ReadmeAssets/first_video.gif b/ReadmeAssets/first_video.gif
index 7360f91..a88fcf5 100644
Binary files a/ReadmeAssets/first_video.gif and b/ReadmeAssets/first_video.gif differ
diff --git a/ReadmeAssets/second_video.gif b/ReadmeAssets/second_video.gif
index 8a55c18..2b25a2c 100644
Binary files a/ReadmeAssets/second_video.gif and b/ReadmeAssets/second_video.gif differ