Skip to content

Marceeelll/iOS-Expendable-Menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages