/LinePager

custom paging tab library

Primary LanguageSwift

LinePager

Temporary Usage

Plan to expand to Cocoapod, SPM, and Carthage in the future

Sample

2022-05-01.5.39.09.mov

Example

  class ViewController: PagerViewController {

    init() {
        super.init(title: ["프로필", "채팅", "동네생활"], //Title of the desired tab bar
                   viewControllers: [RedViewController(), BludViewController(), BlackViewController()], //Register the view controller to be assigned to each tab bar
                   height: 48) //height of tab bar
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }

}