Comments (3)
Yup, I'm observing the same using an iPad Air, the iPhone 5 works fine.
I think its the variadic dereferencing which is causing the problem. Since its on the 64-bit architecture, it seems that its reading the wrong part of memory... Course I'm not sure on this but evidence points to it.
Anyway, if you want the project working you can substitute:
[wordmarkFrameAnimation addKeyFrames:[IFTTTAnimationKeyFrame keyFramesWithTimesAndFrames:
// number of keyframes to add
4,
// move 200 pixels to the right for parallax effect
timeForPage(1), CGRectOffset(self.wordmark.frame, 200, 0),
// move to initial frame on page 2 for parallax effect
timeForPage(2), self.wordmark.frame,
// move down and to the right between pages 2 and 3
timeForPage(3), CGRectOffset(self.wordmark.frame, self.view.frame.size.width, dy),
// move back to initial position on page 4 for parallax effect
timeForPage(4), CGRectOffset(self.wordmark.frame, 0, dy)
]];
with:
#import "IFTTTAnimationKeyFrame.h";
...
...
NSArray *arrayOfKeyFrames = @[
[IFTTTAnimationKeyFrame keyFrameWithTime: timeForPage(1)
andFrame: CGRectOffset(self.wordmark.frame, 200, 0)],
[IFTTTAnimationKeyFrame keyFrameWithTime:timeForPage(2) andFrame:self.wordmark.frame],
[IFTTTAnimationKeyFrame keyFrameWithTime:timeForPage(3) andFrame:CGRectOffset(self.wordmark.frame, self.view.frame.size.width, dy)],
[IFTTTAnimationKeyFrame keyFrameWithTime:timeForPage(4) andFrame:CGRectOffset(self.wordmark.frame, 0, dy)]
];
[wordmarkFrameAnimation addKeyFrames:arrayOfKeyFrames];
Effectively we're just making the keyFramesWithTimesAndFrames: method more verbose in our class.
from jazzhands.
Hi, I'm finding the exact same issue on an iPhone 5s - but, like @tomhut, not on any of the simulators.
@neoplastic's fix fixed it though, thank you.
(Just for reference, this was on the master branch, commit 9c77461.)
from jazzhands.
Thanks all for the heads up here. There's definitely something funny going on with arm64.
I've updated the demo app to no longer use variadics and it's running fine on my 5s.
from jazzhands.
Related Issues (20)
- IFTTTScrollViewPageConstraintAnimation ignores initial constraint constants
- Hide Animation performs differently on 32 bit and 64 bit devices HOT 1
- Can not re-implement Demo because source file change?
- Add <UIKit/UIKit.h> to IFTTTAnimator.h
- Reset Animator Animations
- /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/Demo/Pods/JazzHands/JazzHands/IFTTTConstraintConstantAnimation.m:18:17: Method override for the designated initializer of the superclass '-init' not found HOT 2
- Tutorial HOT 1
- Using setFrame with IFTTT ?
- How could I show UIAlertController in Onboarding Screen
- Swiping in accessibility mode moves through elements in the wrong order
- JazzHands runs not fluent on iOS7 other than iOS8 and iOS9 HOT 1
- IFTTTHideAnimation hideAt and showAt have swapped functionality
- IFTTTAnimatedPagingScrollViewController: Delegate or callback on page scroll?
- Animation issue in iOS 7.0.3
- HOW TO EXECUTE ANIMATION WITH UIVIEWCONTROLLER?
- Broken hide animation!!! HOT 1
- Cannot use masonry update_constranist to change autolayout attibute . HOT 1
- 不能适配iPhone X 顶部被覆盖 没有适配safeAero
- add support for swift package manager
- Test issue_01
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jazzhands.