mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-01-12 22:51:53 +08:00
Transfer reloading responsibility to VCs
This commit is contained in:
@@ -84,8 +84,9 @@ if RUBYMOTION_ENV == "development"
|
||||
end
|
||||
end
|
||||
|
||||
rmq.view_controller.view.subviews.each {|s| s.removeFromSuperview}
|
||||
rmq.view_controller.send(:on_load)
|
||||
cvc = rmq.view_controller
|
||||
cvc.send(:on_code_reload) if cvc.respond_to?(:on_code_reload)
|
||||
|
||||
"Reloaded"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user