Skip to content

v2.0.1: Scrolling logic tweaks

Compare
Choose a tag to compare
@cbpowell cbpowell released this 05 Aug 00:52
· 599 commits to master since this release
  • Improved code reuse in the logic which tries to determine whether or not a MarqueeLabel instance should scroll. This should also make debugging easier, as you can set breakpoints on specific lines to determine why your label isn't moving.
  • Added overridden willMoveToWindow: and didMoveToWindow UIView methods. These methods are used to hopefully improve stopping scrolling animations when they're no longer needed (which helps prevent jumpiness if they're re-added to a window) and to better restart scrolling during view controller transitions.
  • Re-implemented the modal view controller in the demo.
  • Added label pause switch to demo.
  • Corrected some other errors in the demo.