Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (35 sloc) 1.57 KB



rmq_alerts is an RMQ plugin that makes it very easy to create alert messages in iOS.

rmq_alerts intends to stay very light and provide specific functionality (to display alerts easily). This is a very early version and I will be adding more related functionality hopefully in the near future.

On my to-do list:

  • Action sheets

That's it so far. You are more than welcome to submit PRs and suggest features in the issues section.


Requires RMQ 0.9.0 or later, and iOS 7 or later

To install rmq_alerts, write the following in your terminal:

gem install rmq_alerts

Or you can just include it in your RubyMotion app's Gemfile:

gem 'rmq_alerts'


The plugin adds an 'alert' method to RMQ. It has two required arguments (title and message).

rmq.alert('Title goes here', 'Message goes here')
rmq.alert('Ops!', 'No connectivity!', cancel_button = 'Fine')
rmq.alert('title', 'message', cancel_button='Yes', other_buttons=['No'], delegate=self)

The full method looks like this:

rmq.alert('title', 'message', cancel_button='Yes', other_buttons=['No'], delegate=self, view_style=UIAlertViewStyleDefault)

It returns an rmq instance of the alert view.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request