 //
 
 import UIKit
-import SnapKit
 import Pageboy
 
 open class BarView<LayoutType: BarLayout, ButtonType: BarButton, IndicatorType: BarIndicator>: UIView, LayoutPerformer {

            
        case .fill:
            scrollView.addSubview(container)
            container.snp.makeConstraints { (make) in
                make.leading.equalToSuperview()
                make.trailing.equalToSuperview()
                make.top.equalToSuperview()
                make.bottom.equalToSuperview()
            }
        }
        return container
    }

        }
        
        backgroundContainer.addSubview(view)
        view.translatesAutoresizingMaskIntoConstraints = false
        NSLayoutConstraint.activate([
            view.leadingAnchor.constraint(equalTo: backgroundContainer.leadingAnchor),
            view.topAnchor.constraint(equalTo: backgroundContainer.topAnchor),
            view.trailingAnchor.constraint(equalTo: backgroundContainer.trailingAnchor),
            view.bottomAnchor.constraint(equalTo: backgroundContainer.bottomAnchor)
            ])
    }
}

