        tokenViewHeight = height
        
        self.view.setNeedsLayout()
    }
    
    public func tokenInputView(view: CLTokenInputView, didRemoveToken token: CLToken) {
        for i in 0..<selected.count {
            let n = selected[i]
            if (n.token == token) {
                selected.removeAtIndex(i)