Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 497 Bytes

File metadata and controls

18 lines (9 loc) · 497 Bytes

MQDynamicsMenu

UIKit Dynamic effect on menu views. Just have to pass menu view to MQMenuComponent and thats it.

https://developer.apple.com/documentation/uikit/uidynamicitembehavior?language=objc

Check demo project for reference.

How to use:

MQMenuComponent *menuComponent = [[MQMenuComponent alloc]initWithMenuViewController:self menuView:menuView direction:leftToRight];

self.menuComponent.acceleration = 20;

self.menuComponent.elasticity = 0.3;

Screen Shot