No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ExpendableMenu Example Project
README.md

README.md

iOS-Expendable-Menu

A simple expendable Menu written in Swift.

Add as many items as you want to

alt text alt text

Determine the direction

alt text alt text

Protocol Usage

var expandingViewsMenu: [UIView] = []
var expandingViewsSpaceInDegree: CGFloat
var backgroundView: UIView
var backgroundViewColor: UIColor
var isRunningAnimation: Bool
var isMenuExpanded: Bool
var startFromPoint: CGPoint?
var endAtPoint: CGPoint?
var expandingDirection: Direction

Usage

let expendableViews: [UIView] = [...]
expendableMenuButton.expandingViewsMenu = expendableViews

// toggle if the UIView-Element was pressed
yourExpandableUIView.toggle(onView: self.view)