     let size : CGSize = stringSize.sizeWithAttributes([NSFontAttributeName: UIFont.systemFontOfSize(FONT_SIZE)])
     let rectHold : CGRect = self.frame
     self.frame = CGRectMake(rectHold.origin.x, rectHold.origin.y, size.width+10.0, DEFAULT_HEIGHT)
-  }
-  
-  func tagTextChanged(send: NSNotification) {
-    if (send.object as UITextField).text != "" {
-      let pos : UITextPosition = self.beginningOfDocument
-      self.layer.backgroundColor = UIColor.redColor().CGColor
-      let pos2 : UITextPosition = self.tokenizer.positionFromPosition(pos, toBoundary: .Word, inDirection: 0)
-      let range : UITextRange = self.textRangeFromPosition(pos, toPosition: pos2)
-      let resultFrame : CGRect = self.firstRectForRange(range)
-
-      let rectHold : CGRect = self.frame
-      
-      var width : CGFloat = 20.0
-      if resultFrame.size.width+12.0 > STARTING_WIDTH {
-        width = resultFrame.size.width+12.0
-      }
-      self.frame = CGRectMake(rectHold.origin.x, rectHold.origin.y, width, resultFrame.size.height)
-
-      if self.frame.width < rectHold.width {
-        self.tagDelegate?.tagShrunk(self)
-      }
-      self.tagDelegate?.checkTagSize(self)
-    }
   }
   
   override func textRectForBounds(bounds: CGRect) -> CGRect {

  func checkIntersection(sender:TagInput) {
    let typingTag = find(tagArray, sender)
    
    if typingTag==tagArray.count-1 {
      return
    }
    

    return true
  }
  
  func textField(textField: TagInput, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool {
    if countElements(string) > 0 {
      let lastCharacter = string.substringFromIndex(advance(string.endIndex, -1))
      
