infinitered / redpotion

We believe iPhone development should be clean, scalable, and fast with a language that developers not only enjoy, but actively choose. With the advent of Ruby for iPhone development the RubyMotion community has combined and tested the most active and powerful gems into a single package called RedPotion
MIT License
234 stars 40 forks source link

Code-example in documentation generates warning #151

Closed buffpojken closed 8 years ago

buffpojken commented 8 years ago

Trying to use a custom subclass of UINavigationController when creating a new screen yields a warning in the terminal, when doing as described at http://docs.redpotion.org/en/latest/cookbook/screens/#openscreen-args

The following code:

open HomeScreen.new(nav_bar: true, nav_controller: BaseNavigationController)

yields

"set_attribute: #<HomeScreen:0x116e64ff0> does not respond to navController=."

in the terminal. Removing the custom UINavigationController removes the warning. Everything regarding the custom navigation controller still seems to work fine though?