Skip to content

Customisable menu option buttons in circular, semi circular and quarter circular format, which includes,mutable angle coverage, mutable number of layers of buttons, mutable button display angle, mutable count of buttons, mutable button display feature, delegate call back to know which button is tapped.

Notifications You must be signed in to change notification settings

Niki4991/MultipleLayerArcMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MultipleLayerArcMenu

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.

ScreenShot

simulator screen shot - iphone 6 - 2018-01-31 at 16 12 46

simulator screen shot - iphone 6 - 2018-01-31 at 15 56 25

Compatability

Version - Swift 3+, iOS 9+

Example

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()

CallBacks

SemiCircularMenuDelegate

---Delegate Method---

func SemiCircularMenuClickedButtonAtIndex(buttonIndex: Int, buttonOutlet: UIButton)

Manual

  1. Add MultipleLayerArcMenu.swift to your project
  2. Import the same in preferable viewcontroller and initialize as per example (above)

About

Customisable menu option buttons in circular, semi circular and quarter circular format, which includes,mutable angle coverage, mutable number of layers of buttons, mutable button display angle, mutable count of buttons, mutable button display feature, delegate call back to know which button is tapped.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages