MotionInMotion Episode 8 - ProMotion
なんかオープニングが変わった
ProMotionで何種類かのスクリーンを実装
gem 'ProMotion'
- class AppDelegate < PM::Delegate
- def on_load(app, options)
- common
- def on_load
- set_nav_bar_button :left, title: "Help", action: :open_help_screen
- open_modal HelpScreen.new(nav_bar: true)
- set_nav_bar_button :left, title: "Help", action: :open_help_screen
- def will_appear
- set_attributes self.view, {
- def on_load
- screen
- class ZaggleScreen < PM::Screen
- add UILabel.new, {
- web
- class HelpScreen < PM::WebScreen
- def content
- NSURL.URLWithString('https://motioninmotion.tv/about')
- def load_failed
- UIAlert.alloc.initWithTitle
- def close_help_screen ; close
- table
使いたい