Sha256: dd4794d88b8a434543497aabea7359baa6032a26badb6697d5c9c797dfa67aa8

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

class BeerDetailsController < UIViewController
  def loadView
    self.view = UIWebView.alloc.init
  end

  def viewWillAppear(animated)
    navigationController.setNavigationBarHidden(false, animated:true)
  end

  def showDetailsForBeer(beer)
    navigationItem.title = beer.title
    request = NSURLRequest.requestWithURL(beer.url)
    view.loadRequest(request)
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubymotionr-0.0.1 spec/multiple-rubymotion-apps/Beers/app/beer_details_controller.rb