FloatingActionSheetController alternatives and similar libraries
Based on the "Alert & Action Sheet" category.
Alternatively, view FloatingActionSheetController alternatives based on common mentions on social networks and blogs.
-
Alerts & Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SPAlert
DISCONTINUED. Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. [Moved to: https://github.com/ivanvorobei/SPAlert] -
StatusAlert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way. -
InAppNotify
Swift library to manage in app notification in swift language, like WhatsApp, Telegram, Frind, ecc. -
Sheet
DISCONTINUED. Show a workflow of view controllers as an action sheet. Very light weight. No configuration needed.
CodeRabbit: AI Code Reviews for Developers
* 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 FloatingActionSheetController or a related project?
README
FloationgActionSheetController
FloatingActionSheetController is a cool design ActionSheetController library written in Swift2.
Overview
Requirements
- Xcode 8+
- Swift3
- iOS 8.0+
Installation
CocoaPods
# Podfile
use_frameworks!
target 'YOUR_TARGET_NAME' do
pod "FloatingActionSheetController"
end
Carthage
# Cartfile
github "ra1028/FloatingActionSheetController"
Usage
Import FloationgActionSheetController at first.
import FloatingActionSheetController
example
let action1 = FloatingAction(title: "title") { action in
// Do something.
}
let action2 = FloatingAction(title: "title") { action in
// Do something.
}
let action3 = FloatingAction(title: "title", handleImmediately: true) { action in
// Do something.
// If set to 'true' the handleImmediately, handler will be execute soon when Action was select.
}
let group1 = FloatingActionGroup(action: action1)
let group2 = FloatingActionGroup(action: action2, action3)
FloatingActionSheetController(actionGroup: group1, group2)
.present(in: self)
We have prepared a rich initializer to each Class. Please refer to the demo app and source code.
animations
Custom animation styles. Please check the overview or demo app for animation details
public enum AnimationStyle {
case slideUp
case slideDown
case slideLeft
case slideRight
case pop
}
How to use
FloatingActionSheetController(actionGroup: group, animationStyle: .slideLeft)
let actionSheet = FloatingActionSheetController(actionGroup: group)
actionSheet.animationStyle = .slideLeft
appearance customization
let actionSheet = FloatingActionSheetController(actionGroup: group1)
// Color of action sheet
actionSheet.itemTintColor = .white
// Color of title texts
actionSheet.textColor = .black
// Font of title texts
actionSheet.font = .boldSystemFont(ofSize: 15)
// background dimming color
actionSheet.dimmingColor = UIColor(white: 1, alpha: 0.7)
If you wants to customize FloatingAction individually.
var action = FloatingAction(title: "title") { action in
// Do something.
}
action.tintColor = .whiteColor()
action.textColor = .blackColor()
action.font = .boldSystemFont(ofSize: 15)
License
FloatingActionSheetController is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the FloatingActionSheetController README section above
are relevant to that project's source code only.