Description
MDNotificationView provides a customizable view that slide in from the top or the bottom. Use MDNotificationViews for in-app notifications (e. g. in a chat app) or to provide feedback to your app's users (e. g. "Settings changed" and an undo button next to it). MDNotificationViews behave mostly like Material Design Snackbars but are fully customizable. This means you can select from a few predefined layouts or implement your own UIView. The MDNotificationView propagates livecycle and tap events to its delegate, telling your app when it has been shown, hidden or tapped. And of course, it will adjust to the status bar size and to rotation.
MDNotificationView alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view MDNotificationView alternatives based on common mentions on social networks and blogs.
-
Pop
An extensible iOS and OS X animation library, useful for physics-based interactions. -
Shimmer
An easy way to add a simple, shimmering effect to any view in an iOS app. -
IBAnimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable. -
Keyframes
A library for converting Adobe AE shape based animations to a data format and play it back on Android and iOS devices. -
JHChainableAnimations
Easy to read and write chainable animations in Objective-C and Swift -
EasyAnimation
A Swift library to take the power of UIView.animateWithDuration(_:, animations:...) to a whole new level - layers, springs, chain-able animations and mixing view and layer animations together! -
Chat App
Real time chat app written in Swift 5 using Firebase -
RZTransitions
A library of custom iOS View Controller Animations and Interactions. -
DKChainableAnimationKit
⭐ Chainable animations in Swift -
PulsingHalo
iOS Component for creating a pulsing animation. -
CKWaveCollectionViewTransition
Cool wave like transition between two or more UICollectionView -
Interpolate
Swift interpolation for gesture-driven animations -
LSAnimator
⛓ Easy to Read and Write Multi-chain Animations Lib in Objective-C and Swift. -
ActivityIndicatorView
A number of preset loading indicators created with SwiftUI -
Popsicle
Delightful, extensible Swift value interpolation framework -
AnimationEngine
Easily build advanced custom animations on iOS. -
Awesome-iOS-Animation
Curated list of iOS Animation libraries -
DCAnimationKit
A collection of animations for iOS. Simple, just add water animations. -
ZoomTransitioning
ZoomTransitioning provides a custom transition with image zooming animation and swiping the screen edge. -
JDAnimationKit
Animate easy and with less code with Swift -
FlightAnimator
Advanced Natural Motion Animations, Simple Blocks Based Syntax -
AHKBendableView
UIView subclass that bends its edges when its position changes. -
UIView-Shake
UIView category that adds shake animation -
AHDownloadButton
Customizable download button with progress and transition animations. It is based on Apple's App Store download button. -
Animo
Bring life to CALayers with SpriteKit-like animation builders -
MotionMachine
A powerful, elegant, and modular animation library for Swift. -
RippleEffectView
RippleEffectView - A Neat Rippling View Effect -
SamuraiTransition
SamuraiTransition is an open source Swift based library providing a collection of ViewController transitions featuring a number of neat “cutting” animations. -
JRMFloatingAnimation
An Objective-C animation library used to create floating image views. -
CCMRadarView
CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation -
ConcentricProgressRingView
Fully customizable circular progress bar written in Swift. -
Walker
Each step you take reveals a new horizon. You have taken the first step today. -
SYBlinkAnimationKit
A blink effect animation framework for iOS, written in Swift. -
ADPuzzleAnimation
Inspired by Fabric - Answers animation. Allows to "build" given view with pieces. Allows to "destroy" given view into pieces -
Stagehand
Modern, type-safe API for building animations on iOS
InfluxDB - Power Real-Time Data Analytics at Scale
* 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 MDNotificationView or a related project?
README
MDNotificationView
MDNotificationView provides a customizable view that slide in from the top or the bottom. Use MDNotificationViews for in-app notifications (e. g. in a chat app) or to provide feedback to your app's users (e. g. "Settings changed" and an undo button next to it). MDNotificationViews behave mostly like Material Design Snackbars but are fully customizable. This means you can select from a few predefined layouts or implement your own UIView. The MDNotificationView propagates livecycle and tap events to its delegate, telling your app when it has been shown, hidden or tapped. And of course, it will adjust to the status bar size and to rotation.
Screenshots
The MDNotificationExpandedImageLayoutView
contains an image, a title and a text. Register your view controller as a MDNotificationViewDelegate
to be notified if the user taps the view.
The MDNotificationCompactLayoutView
contains a text of up to two lines. Like all layouts, its background and text properties can be customized.
The MDNotificationCompactButtonLayoutView
contains a button and a text. Add a gesture recognizer to the UIButton
to trigger custom actions.
Pass a custom UIView
to the MDNotificationView
for more flexibility. Register your view controller as a MDNotificationViewDelegate
to be notified when the view has been shown or hidden. E. g. hide the notification view after the download finishes.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS 9.0+
- Swift 4.1+
Refer to Version 1.0 for Swift 3.3 compatibility.
Installation
MDNotificationView is available through CocoaPods. To install it, add the following line to your Podfile:
pod "MDNotificationView"
MDNotificationView is also available through [Carthage](hhttps://github.com/Carthage/Carthage). To install it, add the following line to your Cartfile:
github "moritzdietsche/MDNotificationView"
Questions & Issues
- Use Stack Overflow if you have any questions. I watch the tag
mdnotificationview
. - Open an issue if you found a bug or have a feature request.
- Submit a pull request if you want to contribute. Contributions are welcome!
Author
Moritz Dietsche
License
MDNotificationView is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the MDNotificationView README section above
are relevant to that project's source code only.