quattro_4 scribble

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

MotionInMotion Episode 34 - Toolbars

Toolbars - MotionInMotion

ツールバーを表示、ボタンを配置

  • ASCIICast Episode 34 ASCIICast - Working With Toolbars
  • MainController
    • viewDidLoad
      • navigationController.toolbarHidden = false
      • setToolbarItems
        • UIBarButtonItem.alloc.initWithTitle
          • UIBarButtonItemStylePlain
        • UIBarButtonItem.alloc.initWithBarButtonSystemItem
          • UIBarButtonSystemItemAction
  • flexibleSpace = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemFlexibleSpace, target:self, action:nil)
  • UIBarButtonSystemItem iphone - How to create fixed space and flexible space bar button items programmatically? - Stack Overflow
    • backBtn = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemRewind, target:self, action:@selector(goBack))
    • forwardBtn = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemFastForward, target:self, action:@selector(goForward))
    • bookmarkBtn = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemBookmarks, target:self, action:@selector(bookmark))
    • refreshBtn = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemRefresh, target:self, action:@selector(refresh))
    • stopLoadingBtn = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemStop, target:self, action:@selector(stopLoading))