You are never suppose to use == for a Boolean because it is too easy to use the = operator instead. You should always use the bool by itself for YES and the ! with the Boolean NO.
I have a problem with an animation, I have two images one is moving with the touch and the other one does an animation, the problem here is when the second image (the one that has the animation) does the animation I can't move the other one!
@ipodtouchacker I know, I post this on a few videos, and he thinks I'm an idiot, Im a dev and hacker, I understand, Hes doing something wrong, and he doesnt realize it.
You are never suppose to use == for a Boolean because it is too easy to use the = operator instead. You should always use the bool by itself for YES and the ! with the Boolean NO.
arnopoulos119087 3 months ago
this was helpful thanks
imwitti1 9 months ago
You could have refactored the animation blocks to have the logic in there instead of repeating yourself.
yrelkin 9 months ago
What is the resolution of your screen? :)
wshark1948 9 months ago
This has been flagged as spam show
Hi! I need help
I have a problem with an animation, I have two images one is moving with the touch and the other one does an animation, the problem here is when the second image (the one that has the animation) does the animation I can't move the other one!
I'm using this code for the animation:
[UIView animateWithDuration:.5 animations:^{plus3.transform = CGAffineTransformMakeTraslation(0, -20);} completion:^(BOOL finished){plus3.hidden = YES;}];
maybe you can help me :)
ulbricho 10 months ago
omg! do i need to say more?
fmorgner 10 months ago
you can easily use: [UIView setAnimationDidStopSelector: @selector(selector) ] instead of doing all this BOOL stuff..
yershuachu 1 year ago
still have errors....
ipodtouchacker 1 year ago
@ipodtouchacker I know, I post this on a few videos, and he thinks I'm an idiot, Im a dev and hacker, I understand, Hes doing something wrong, and he doesnt realize it.
Appleman5487 1 year ago