class AppDelegate

Public Instance Methods

actionSheet(action_sheet, clickedButtonAtIndex: index) click to toggle source
# File lib/project/app_delegate.rb, line 8
def actionSheet(action_sheet, clickedButtonAtIndex: index)
  Motion::Alert.instance.selected(index)
end
alertView(alert_view, clickedButtonAtIndex: index) click to toggle source

I have no idea why a delegate cannot be a class that i define so i have to piggy back on the app delegate for this..

# File lib/project/app_delegate.rb, line 4
def alertView(alert_view, clickedButtonAtIndex: index)
  Motion::Alert.instance.selected(index)
end