mirror of
https://github.com/joeblau/COSTouchVisualizer.git
synced 2024-09-11 12:36:58 +03:00
Updated animations to support iOS6 syntax
Changed animateKeyframesWithDuration to animateWithDuration
This commit is contained in:
parent
f187d9637b
commit
ee5d0771ad
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,5 +1,14 @@
|
||||
# COSTouchVisualizer CHANGELOG
|
||||
|
||||
## 0.1.0
|
||||
## 1.0.2
|
||||
|
||||
Initial release.
|
||||
- Fixed bug in morph animation to make app compataible with iOS6
|
||||
|
||||
## 1.0.1
|
||||
|
||||
- Fixed setting for ripple color
|
||||
- Updated documentation for how to configure ripple color
|
||||
|
||||
## 1.0.0
|
||||
|
||||
- Initial release.
|
||||
|
@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "COSTouchVisualizer"
|
||||
s.version = "1.0.1"
|
||||
s.version = "1.0.2"
|
||||
s.summary = "Visualize iOS finger touches, gestures and holds on external displays"
|
||||
s.description = <<-DESC
|
||||
Touch Screen Visualizer visualizes your touches, gestures, and holds on
|
||||
@ -18,7 +18,7 @@ Pod::Spec.new do |s|
|
||||
s.source = { :git => "https://github.com/conopsys/COSTouchVisualizer.git", :tag => s.version.to_s }
|
||||
s.social_media_url = 'https://twitter.com/joe_blau'
|
||||
|
||||
s.platform = :ios, '5.0'
|
||||
s.platform = :ios, '6.0'
|
||||
|
||||
s.requires_arc = true
|
||||
|
||||
|
@ -370,20 +370,21 @@
|
||||
NSTimeInterval duration = .4;
|
||||
NSTimeInterval delay = 0;
|
||||
// Start
|
||||
view.alpha = _touchAlpha;
|
||||
view.transform = CGAffineTransformMakeScale(1, 1);
|
||||
[UIView animateKeyframesWithDuration:duration/4 delay:delay options:0 animations:^{
|
||||
[UIView animateWithDuration:duration/4 delay:delay options:0 animations:^{
|
||||
// End
|
||||
view.transform = CGAffineTransformMakeScale(1, 1.2);
|
||||
} completion:^(BOOL finished) {
|
||||
[UIView animateKeyframesWithDuration:duration/4 delay:0 options:0 animations:^{
|
||||
[UIView animateWithDuration:duration/4 delay:0 options:0 animations:^{
|
||||
// End
|
||||
view.transform = CGAffineTransformMakeScale(1.2, 0.9);
|
||||
} completion:^(BOOL finished) {
|
||||
[UIView animateKeyframesWithDuration:duration/4 delay:0 options:0 animations:^{
|
||||
[UIView animateWithDuration:duration/4 delay:0 options:0 animations:^{
|
||||
// End
|
||||
view.transform = CGAffineTransformMakeScale(0.9, 0.9);
|
||||
} completion:^(BOOL finished) {
|
||||
[UIView animateKeyframesWithDuration:duration/4 delay:0 options:0 animations:^{
|
||||
[UIView animateWithDuration:duration/4 delay:0 options:0 animations:^{
|
||||
// End
|
||||
view.transform = CGAffineTransformMakeScale(1, 1);
|
||||
} completion:^(BOOL finished) {
|
||||
|
Loading…
Reference in New Issue
Block a user