A simple expendable Menu written in Swift.
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
let expendableViews: [UIView] = [...]
expendableMenuButton.expandingViewsMenu = expendableViews
// toggle if the UIView-Element was pressed
yourExpandableUIView.toggle(onView: self.view)