Commit Graph

409 Commits

Author SHA1 Message Date
DaVinci42
81dafb1c9b spell fix 2017-09-18 18:51:17 +08:00
Brandon Withrow
861c517d16 Merge pull request #402 from airbnb/btw/interactive
updated interactive api
2017-09-01 11:23:38 -07:00
brandon_withrow
3f004a02de updated interactive api 2017-09-01 11:21:17 -07:00
Brandon Withrow
b6b3cb51bb Merge pull request #400 from RishabhTayal/master
code formatting in readme.md
2017-08-31 09:51:11 -07:00
Rishabh Tayal
8b4d14c433 code formatting in readme.md 2017-08-31 09:56:35 -05:00
Brandon Withrow
44b4086801 Update issue_template.md 2017-08-30 10:34:19 -07:00
Brandon Withrow
bcc794ee8c Update README.md 2017-08-29 19:05:46 -07:00
brandon_withrow
773353738a Fix 2017-08-29 18:56:41 -07:00
brandon_withrow
c172c5eb81 Version Bump 2017-08-29 18:36:13 -07:00
Brandon Withrow
b3a122342b Merge pull request #398 from airbnb/btw/accessibility
Btw/accessibility
2017-08-29 18:35:04 -07:00
brandon_withrow
4e7a0a6673 Added interactive gesture support 2017-08-29 18:34:15 -07:00
brandon_withrow
4c23c50907 Added interactive gesture support 2017-08-29 18:32:44 -07:00
brandon_withrow
80da652f33 Added Accessibility to LOTAnimatedControl 2017-08-29 16:59:58 -07:00
brandon_withrow
6b2c7603f5 Version Bump 2017-08-29 15:48:28 -07:00
Brandon Withrow
7cdb48cce7 Merge pull request #395 from airbnb/btw/presentationCrash
Fix for ios 8.1 and presentation layer crash
2017-08-29 12:05:24 -07:00
brandon_withrow
72035acf2a Fix for ios 8.1 and presentation layer crash 2017-08-29 12:01:45 -07:00
brandon_withrow
1c815ddc14 Version Bump 2017-08-28 15:25:42 -07:00
brandon_withrow
7c3ccace59 More Readme 2017-08-28 15:23:47 -07:00
brandon_withrow
0151778787 Update Readme 2017-08-28 15:23:05 -07:00
brandon_withrow
1ab27f870b Readme Update 2017-08-28 15:21:18 -07:00
brandon_withrow
5ae458fd70 Update documentation and examples 2017-08-28 15:19:06 -07:00
brandon_withrow
4038d3a7c3 Updated example 2017-08-28 14:57:31 -07:00
Brandon Withrow
b0ddddac01 Merge pull request #394 from airbnb/btw/animatedcontrols
Added animated controls and switches
2017-08-28 14:42:40 -07:00
brandon_withrow
adc7b9a661 Added animated controls and switches 2017-08-28 14:39:42 -07:00
Brandon Withrow
3ee585614b Merge pull request #391 from airbnb/btw/compconvenience
Moved convenience intializers to LOTComposition
2017-08-25 13:31:10 -07:00
brandon_withrow
9edf5689f4 Moved convenience intializers to LOTComposition 2017-08-25 13:28:01 -07:00
Brandon Withrow
8069d2301a Merge pull request #389 from airbnb/btw/subviewFix
Btw/subview fix
2017-08-24 17:03:53 -07:00
brandon_withrow
2fc468c802 More Fixes 2017-08-24 17:02:07 -07:00
brandon_withrow
40b51de5fe Fix add subviews coordinate bug 2017-08-24 14:47:05 -07:00
Brandon Withrow
85f1fa9602 Update issue_template.md 2017-08-23 13:02:20 -07:00
brandon_withrow
40cd431d14 Version Bump 2017-08-23 11:47:00 -07:00
brandon_withrow
bda0f82330 Crash Fix 2017-08-23 11:45:57 -07:00
Brandon Withrow
8f86819fff Merge pull request #377 from welshm/reverseSupport
Add better support for negative animation speeds
2017-08-17 15:04:30 -07:00
Brandon Withrow
fbf6ca5686 Merge branch 'master' into reverseSupport 2017-08-17 15:04:12 -07:00
Michael Welsh
805a671448 Update LOTAnimationView header to have better comments 2017-08-17 17:41:50 -04:00
Michael Welsh
b0b7b7c8cb Rename _isPlayingForward to _isSpeedNegative to be more clear what it's checking 2017-08-17 17:37:15 -04:00
Michael Welsh
ab75236c5f Revert some of the animationProgress changes to revert to reflect absolutes
- Update header documentation to make it clear how animatinoSpeed and animationProgress interact
- Leave fixes in there that stop reversed animations "snapping" back
2017-08-17 17:05:20 -04:00
Brandon Withrow
e15565420c Merge pull request #376 from louisdh/typos-fix
Fix typos in LOTAnimationView.h
2017-08-17 12:53:04 -07:00
Michael Welsh
0896678088 Merge branch 'reverseSupport' of https://github.com/welshm/lottie-ios into reverseSupport 2017-08-17 11:16:59 -04:00
Michael Welsh
3e0790a413 Add better support for negative animation speeds
- The progress can be calculated basd on negative speed
  + The end frame would be a progress of 0 and the start frame a progress of 1
  + Recalculate progress when the speed changes, otherwise a "jump" will be seen when restarting animation

- The frame for the progress can be calculated using the newly inverted progress
  + Determine the absolute progress based on current progress and determine which frame to use based on animation speed

- This fixes issues of animations playing with negative speeds "bouncing" back to their final position
  which was caused by the final frame being calculated based on a completed progress of 1 which then did not take into
  account the negative animation speed.
2017-08-17 11:14:48 -04:00
Michael Welsh
a53bbe99ca Add better support for negative animation speeds
- The progress can be calculated basd on negative speed
  + The end frame would be a progress of 0 and the start frame a progress of 1
  + Recalculate progress when the speed changes, otherwise a "jump" will be seen when restarting animation

- The frame for the progress can be calculated using the newly inverted progress
  + Determine the absolute progress based on current progress and determine which frame to use based on animation speed

- This fixes issues of animations playing with negative speeds "bouncing" back to their final position
  which was caused by the final frame being calculated based on a completed progress of 1 which then did not take into
  account the negative animation speed.
2017-08-17 10:16:47 -04:00
Louis D'hauwe
2ef6f1d19f Update LOTAnimationView.h 2017-08-17 11:09:09 +02:00
Brandon Withrow
b795c24ad8 Merge pull request #374 from Calvix-Xu/master
fix the Memory leak in LOTBezierPath.m file
2017-08-16 10:09:10 -07:00
XuHongjian
bc3d4edc9b fix the Memory leak in LOTBezierPath.m file 2017-08-16 14:10:01 +08:00
Brandon Withrow
f71cf24bfd Update issue_template.md 2017-08-15 14:36:57 -07:00
Brandon Withrow
ec65175769 Update issue_template.md 2017-08-15 14:33:04 -07:00
Brandon Withrow
eaad28f4ce Create issue_template.md 2017-08-15 14:30:38 -07:00
Brandon Withrow
32530474da Update README.md 2017-08-15 14:22:16 -07:00
brandon_withrow
555b7a4a58 Bump Version 2017-08-15 12:27:52 -07:00
Brandon Withrow
c9cf9c047d Merge pull request #371 from airbnb/btw/compleitoncrashfix
Fix for completion block crash
2017-08-15 12:25:36 -07:00