     public fileprivate(set) var visibleCells = [PagingMenuViewCell]()
 
     fileprivate var queue = [String: [PagingMenuViewCell]]()
-    fileprivate var nibs = [String: RegisteredCell]()
+    fileprivate var registeredCells = [String: RegisteredCell]()
     fileprivate var widths = [CGFloat]()
     fileprivate var containerView = UIView()
     fileprivate var touchBeganPoint: CGPoint?

    ///   - nib: A nib object that specifies the nib file to use to create the cell.
    ///   - identifier: The reuse identifier for the cell. This parameter must not be nil and must not be an empty string.
    public func register(nib: UINib?, with identifier: String) {
        nibs[identifier] = nib.flatMap { .nib(nib: $0) }
    }
    
    /// Registers a nib object containing a cell with the paging menu view under a specified identifier.
    ///
    /// - Parameters:
    ///   - nib: A nib object that specifies the nib file to use to create the cell.
    ///   - identifier: The reuse identifier for the cell. This parameter must not be nil and must not be an empty string.
    public func register(type: PagingMenuViewCell.Type, with identifier: String) {
        nibs[identifier] = .type(type: type)
    }

    /// Returns a reusable paging menu view cell object for the specified reuse identifier and adds it to the menu.

            return cell
        }
        
        switch registeredCells[identifier] {
        case .nib(let nib)?:
            let cell = nib.instantiate(withOwner: self, options: nil).first as! PagingMenuViewCell
            cell.identifier = identifier
