MultipleLayerArc Menu is to animate multiple buttons and place them in prefered circular, semi circular or quarter circular format. This menu buttons can be emerged from any corner of the screen with the modified angle. As per the git code, it is expanding from right bottom corner of the screen. Number of buttons in each layer is based on the array of dictionaries passed from a viewcontroller.
Version - Swift 3+, iOS 9+
self._circularMenuVC = MultipleLayerArcMenu.init(listOfButtonDetails: arrayOfMenuButtons, viewController: self, centerButtonFrame: self.optionButton.frame, circularButton: self.optionButton, startAngle: 95, totalAngle: 95, radius: -80)
self._circularMenuVC?._delegateSemiCircularMenu = self
self._circularMenuVC?.showMenuOption()
SemiCircularMenuDelegate
---Delegate Method---
func SemiCircularMenuClickedButtonAtIndex(buttonIndex: Int, buttonOutlet: UIButton)
- Add MultipleLayerArcMenu.swift to your project
- Import the same in preferable viewcontroller and initialize as per example (above)