quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

MotionInMotion Episode 8 - ProMotion

ProMotion - MotionInMotion

なんかオープニングが変わった

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)
    • def will_appear
      • set_attributes self.view, {
  • screen
    • class ZaggleScreen < PM::Screen
    • add UILabel.new, {
  • web
    • class HelpScreen < PM::WebScreen
    • def content
    • def load_failed
      • UIAlert.alloc.initWithTitle
    • def close_help_screen ; close
  • table
    • class ZaggstarFeed < PM::TableScreen
      • open ZaggstarFeed.new(nav_bar: true) # in app delegate
    • searchable
      • placeholder: "Find a Zaggle"
    • refreshable
      • callback: :on_refresh,
      • def on_refresh ; end_refreshing
      • pull_message: "Pull to resfresh",
    • def table_data
      • cells:
        • title, subtitle, action, arguments

使いたい