Cute animated UI button micro interaction
The original design is given to Aashish Kumar
You can just copy MenuButon.swift
file to your project and start experimenting. No pod 😊
and just simply use it like any other UIView
let menuButton = MenuButton(frame: CGRect(x: view.frame.midX, y: view.frame.midY, width: 100, height: 100))
menuButton.ontap = { tapped in
// Do something
}
view.addSubview(menuButton)
or in StoryBoard. Just set custom class to MenuButton