Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Transactions #276

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open

Conversation

naftaly
Copy link

@naftaly naftaly commented Sep 21, 2015

This PR is a combination of ( Both those branches were required in order to pull it off ).

Added:

  • POPTransaction. Used to run many shorthand animations together ( similar to CATransaction ).
[POPTransaction begin];

[POPTransaction setAnimationDuration:10];
obj1.pop_animator.value = 1;

[POPTransaction setAnimationDuration:3];
obj2.pop_animator.value = 5;

[POPTransaction setCompletionBlock:^(BOOL finished) {
  // do stuff after obj1 animation has run for 10 seconds and obj2 animation has run for 3.
}];

[POPTransaction commit];
  • block based shorthand animations ( [NSObject pop_animateWith... ).
[NSObject pop_animateWithDuration:0.4 delay:1 options:POPAnimationOptionAutoreverse|POPAnimationOptionCurveEaseOut  animations:^() {
  // you're in a transaction here so change stuff if you want to.
  obj1.pop_animator.value = 1;
  obj2.pop_animator.value = 5;
} completion:^() {
  // do stuff ...
}];

… issue where UIEdgeINsets was not ifdef'd out for PHONE only.
* master:
  Update podspec to 1.0.8.
…en already started. Removed an unused property of group animations.
* default_value_for_key:
  added tests for automated properties.
  small fix when val was nil when calling valueForKeyPath: in automated properties.
  added tests for basic animation keyPayh
  fixed a some tests that could not resolve a layers position. fixed an issue where UIEdgeINsets was not ifdef'd out for PHONE only.
  updated docs for keyPath animations.
  support for automatic animatable properties
  added support for GLKIt types GLKVector3 and GLKQuaternion

Conflicts:
	pop-tests/POPAnimationTests.mm
	pop.xcodeproj/project.pbxproj
	pop/POPAnimator.mm
…into implicit_animations

* 'implicit_animations' of https://github.com/naftaly/pop:
  added custom build status
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants