Sha256: 02fb9b6caa333be965886f6fb1dcf50f8fad07fa8cf1146bf3ef242b659eec24

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

class AppDelegate
  attr :main_menu_layout

  def applicationDidFinishLaunching(notification)
    @main_menu_layout = MainMenu.new
    NSApp.mainMenu = @main_menu_layout.menu

    @main_controller = MainWindowController.alloc.init
    @main_controller.showWindow(self)
    @main_controller.window.orderFrontRegardless
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
motion-kit-templates-1.0.3 templates/mk-osx/files/app/app_delegate.rb
motion-kit-templates-1.0.2 templates/mk-osx/files/app/app_delegate.rb
motion-kit-templates-1.0.1 templates/mk-osx/files/app/app_delegate.rb
motion-kit-templates-1.0.0 templates/mk-osx/files/app/app_delegate.rb