quattro_4 scribble

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

MotionInMotion Episode 35 - Tab Bar Controllers And How To Customise Them

Tab Bar Controllers And How To Customise Them - MotionInMotion

TabBarの実装

  • Icons8 Download 1700+ Free iOS 7 Icons | Icons8
    • icon pack for iOS7
  • Apple iOS Human Interface Guidelines: Designing for iOS 7
  • @window.rootViewController = tab_bar_controller
    • def tab_bar_controller
      • Dispatch.once do
        • @tab_bar_controller.setViewControllers([ ])
        • @tab_bar_controller.selectedIndex = 2
  • @tab_bar_controller.tabBar.tap do |tab_bar|
    • tab_bar.barTintColor = UIColor.purpleColor
    • tab_bar.tintColor = UIColor.orangeColor
    • tab_bar.selectedImageTintColor = UIColor.greenColor
  • class MyViewController
    • def self.create(title_or_system_item, image: image, tag: tag)
      • controller.tabBarItem = item
      • create_item
        • off_image = UIImage.imageNamed("#{image}-off").imageWithRenderingMode(UIImageRenderingModeAlwaysOriginal)
        • tab_bar_item.selectedImage = UIImage.imageNamed("#{image}-on")
      • create_system_item
        • UITabBarItem.alloc.initWithTabBarSystemItem(system_item, tag: tag)
  • UITabBarItem Cocoa Touch UIKit勉強(3)
    • UITabBarSystemItemMore
    • UITabBarSystemItemFavorites
    • UITabBarSystemItemFeatured
    • UITabBarSystemItemTopRated
    • UITabBarSystemItemRecents
    • UITabBarSystemItemContacts
    • UITabBarSystemItemHistory
    • UITabBarSystemItemBookmarks
    • UITabBarSystemItemSearch
    • UITabBarSystemItemDownloads
    • UITabBarSystemItemMostRecent
    • UITabBarSystemItemMostViewed