Skip to content

Other Animations Attributes for Buttons (Swift)

Weiping Huang edited this page May 14, 2017 · 5 revisions

Delay, duration, rotate-degrees, frames...

Swift | Objective-C

Other Animation Attributes

Set other animation attributes by:

bmb.boomDelay = 0
bmb.reboomDelay = 0
bmb.boomDuration = 1
bmb.reboomDuration = 1

bmb.delay = 0
bmb.duration = 1

bmb.rotateDegree = 8 * CGFloat.pi
bmb.frames = 80  // The higher, the smoother animations the higher performances needed

// Whether use a 3D transform animation when booming or rebooming.
bmb.use3DTransformAnimation = false

3D Animation Demo shows the difference of 3D animation.

Home
Chapters

  1. Basic Usage
  2. Simple Circle Button
  3. Text Inside Circle Button
  4. Text Outside Circle Button
  5. Ham Button
  6. Share Style
  7. Custom Position
  8. Button Place Alignments
  9. Different Ways to Boom
  10. Ease Animations for Buttons
  11. Different Order for Buttons
  12. Other Animations Attributes for Buttons
  13. Click Event and Listener
  14. Control BMB
  15. Use BMB in Navigation Bar
  16. Use BMB in Table View
  17. Attributes for BMB or Pieces on BMB
  18. Cache Optimization & Boom Area
  19. Change Boom Buttons Dynamically
  20. Blur Background & Tip
  21. Fade Views
  22. Structure of BMB
  23. Version History
Clone this wiki locally