FrostedSidebar alternatives and similar libraries
Based on the "Menu" category.
Alternatively, view FrostedSidebar alternatives based on common mentions on social networks and blogs.
-
Pagemenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
GuillotineMenu
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine. -
PagingMenuController
Paging view controller with customizable menu in Swift. -
ENSwiftSideMenu
A simple side menu for iOS written in Swift. -
Panels
Panels is a framework to easily add sliding panels to your application -
YNDropDownMenu
✨ Awesome Dropdown menu for iOS with Swift 5.0 -
PagingKit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries. -
SwipeMenuViewController
Swipable tab and menu View and ViewController. -
FlowingMenu
Interactive view transition to display menus with flowing and bouncing effects in Swift -
InteractiveSideMenu
iOS Interactive Side Menu written in Swift. -
MenuItemKit
UIMenuItem with image and closure(block) action -
SwiftUI Drawer
A SwiftUI bottom-up controller, like in the Maps app. Drag to expand or minimize. -
PagerTabStripView
🚀 Elegant Pager View fully written in pure SwiftUI. -
DropDownMenuKit
UIKit drop down menu, simple yet flexible and written in Swift -
KWDrawerController
Drawer view controller that easy to use! -
Swift-CircleMenu
Rotating circle menu written in Swift 3 -
HHFloatingView
An easy to use and setup floating view for your app. 🎡 -
SwiftUISelector
A Modern Horizontal Option Selector View for SwiftUI
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FrostedSidebar or a related project?
README
FrostedSidebar
Hamburger Menu using Swift and iOS 8 API's
Heavily influenced by @_ryannystrom's RNFrostedSidebar
This implementation uses iOS 8's new UIVisualEffectView to apply the blur to the sidebar. Among other changes, this sidebar has a view that dims the background to shift the focus to the presented content.
The buttons have the same ring effect on click. The buttons are more customizable as I will go into later.
Usage
In the example project, the sidebar is added quite easily.
Create a property in your UIViewController subclass.
var frostedSidebar: FrostedSidebar = FrostedSidebar(images: imageArray, colors: colorArray, selectionStyle: chosenSelectionStyle)
where images
contains the icons for the buttons, colors
contains the border colors for the icons, and selectionStyle
is the sidebar items' selection behavior (either .None
, .Single
, or .All
).
The colors
parameter is optional, and can either be nil or be the same length as images
.
The buttons can be set to use a closure when tapped using
frostedSidebar.actionForIndex[idx] = { /* actions */ }
To show the sidebar, use the following code in your view controller:
frostedSidebar.showInViewController( self, animated: true )
It can be dismissed in a similar way:
frostedSidebar.dismissAnimated(true, completion: nil)
The class that conforms to the FrostedSidebarDelegate must implement the following methods:
func sidebar(sidebar: FrostedSidebar, willShowOnScreenAnimated animated: Bool)
func sidebar(sidebar: FrostedSidebar, didShowOnScreenAnimated animated: Bool)
func sidebar(sidebar: FrostedSidebar, willDismissFromScreenAnimated animated: Bool)
func sidebar(sidebar: FrostedSidebar, didDismissFromScreenAnimated animated: Bool)
func sidebar(sidebar: FrostedSidebar, didTapItemAtIndex index: Int)
func sidebar(sidebar: FrostedSidebar, didEnable itemEnabled: Bool, itemAtIndex index: Int)
Installation
CocoaPods
You can use CocoaPods to install FrostedSidebar
by adding it to your Podfile
:
platform :ios, '8.0'
use_frameworks!
pod 'FrostedSidebar'
To get the full benefits import FrostedSidebar
wherever you import UIKit
import UIKit
import FrostedSidebar
Manually
- Download and drop
FrostedSidebar.swift
in your project. - Congratulations!
Conclusion
This would not be possible without the impressive work by Ryan Nystrom, and the great design by Jakub Antalík on Dribbble.
Hopefully someone finds this useful!