Sha256: e19dd136ee188eaee67cea92d04772127d1441aa9eefe27b71368f4f036566e8

Contents?: true

Size: 366 Bytes

Versions: 28

Compression:

Stored size: 366 Bytes

Contents

class NSViewController
  include Teacup::Layout
  include Teacup::Controller

  alias _teacup_loadview loadView
  def loadView
    if nibName and nibBundle
      _teacup_loadview
    else
      self.view = NSView.new
      self.view.autoresizingMask = NSViewWidthSizable|NSViewHeightSizable
    end

    teacupDidLoad
  end

  def top_level_view
    view
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
teacup-3.0.1 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-3.0.0 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.3.0 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.2.2 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.2.0 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.16 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.15 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.14 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.13 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.12 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.11 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.10 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.9 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.8 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.7 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.6 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.5 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.4 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.3 lib/teacup-osx/core_extensions/ns_view_controller.rb
teacup-2.1.2 lib/teacup-osx/core_extensions/ns_view_controller.rb