rubymotion/BubbleWrap — pull request #79 by joelmoss (2012-07-01 19:14:37+00:00)
Title: Adds support for setting the message and passing a block to App.alert

As the title says. You currently cannot set the message or do anything much with the alert object, as it is shown before you get access to it.

So now you can do this:

App.alert 'My title', message: 'My message' do |alert|
alert.addButtonWithTitle 'My 2nd button'
end

And you can still do this:

App.alert 'My Title', 'My 1st Button'