Latest 0.3.0
License MIT
Platforms ios 9.0
Dependencies SwiftPriorityQueue, SteviaLayout
Frameworks UIKit

RGSnackBar logo

CI Status


Total customization! Zoom in animation!

This library was created during the development of one of
Reality Games’ games out of need. It has all
the features I needed during development and plenty of room for extensions


  • Swift 2.3
  • iOS 9.3

For now RGSnackBar runs on Swift 2.3 as that’s what I personally need, but it
will be migrated to Swift 3 and later Swift 4 when needed.

The target platform is iOS 9.0, but I have tested it on 9.3 only, so please be careful


RGSnackBar is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RGSnackBar"


Basically you’ll need an RGMessageQueue with some kind of RGMessagePresenter. How you decide to do it is completely up to you. This lib comes with two presenters: RGMessageConsolePresenter and RGMessageSnackBarPresenter, but I strongly encourage you to write your own presenters for anything you like. Perhaps a system-banner like presentation? Who knows? Only you. ( ͡° ͜ʖ ͡° )


  • Prioritized messages thanks to SwiftPriorityQueue
  • Easy and dynamic layout for RGSnackBarPresenter thanks to Stevia
  • Completely customizable animations for RGSnackBarView with slide up and zoom in already made
  • Base class RGMessageView for endless possibilities – want a snack bar? Here! Want a banner? Make one!


To run the example project, clone the repo, and run pod install from the Example directory first.


Me, a Senior iOS Developer at
Reality Games.


  • 0.1
    • Initial release
  • 0.2
    • Easier styling
    • Better example


Feel free to fork this repository, make your changes and create a pull request.
Your additions are very welcome! 😉


RGSnackBar is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "RGSnackBar",
    "version": "0.3.0",
    "summary": "A small, yet robust and extensible snackbar for iOS",
    "description": "RGSnackBar is a small library that allows you to queue certain messages and later display them in a view you like.nnIt comes with default ways to display messages and a lot of possibilities.nnMore will come.",
    "homepage": "",
    "license": {
        "type": "MIT  ",
        "file": "LICENSE"
    "authors": {
        "kuvisit": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.3.0"
    "platforms": {
        "ios": "9.0"
    "source_files": "RGSnackBar/Classes/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "SwiftPriorityQueue": [
            "~> 1.1.0"
        "SteviaLayout": [
            "~> 3.0"
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.2"
    "pushed_with_swift_version": "3.2"

Pin It on Pinterest

Share This