Latest 1.0.3
Homepage https://github.com/junggate/JGTabBarView
License MIT
Platforms ios 10.0
Authors

[swfit]()

JGTabBarView

  • 심플한 메소드를 통해 탭 화면을 곧 바로 구성이 가능
  • 스와이프 제스처를 이용하여 탭 간 이동이 가능
  • Interface Builder에서도 삽입 가능

Demo

1
2
3
4

5

// create UIViewController (with JGTabBar protocol)
class TabViewController: UIViewController, JGTabBar

// XIB View variable
@IBOutlet weak var tabBarView: JGTabBarView!

override func viewDidLoad() {
    super.viewDidLoad()

    var views: [TabViewController] = []
    (1...4).forEach { (index) in
        let tabViewController = TabViewController(nibName: "TabViewController", bundle: nil)
        // Tab Button Title.
        tabViewController.tabTitle = "Button(index)"
        views.append(tabViewController)
    }

    // set tabs
    tabBarView.tabs = views 
}

Latest podspec

{
    "name": "JGTabBarView",
    "version": "1.0.3",
    "summary": "Storyboardub97c uc774uc6a9ud55c uc2a4ud06cub864 uc81cuc2a4ucc98 uae30ubc18uc758 ud0edubc14 ubdf0",
    "description": "Storyboardub97c uc774uc6a9ud55c uc2a4ud06cub864 uc81cuc2a4ucc98 uae30ubc18uc758 ud0edubc14 ubdf0",
    "homepage": "https://github.com/junggate/JGTabBarView",
    "license": "MIT",
    "authors": {
        "JungGate": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/junggate/JGTabBarView.git",
        "tag": "1.0.3"
    },
    "source_files": "JGTabBarView/JGTabBarView/**/*",
    "resources": "JGTabBarView/JGTabBarView.bundle"
}

Pin It on Pinterest

Share This