     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 {

    tagArray.last.shrinkWrap()
    tagArray.last.delegate = self
    tagArray.last.tagDelegate = self
    
    if nextPos+STARTING_WIDTH >= self.frame.width {
      self.tagTooWide(tagArray.last)


import UIKit

private extension Array {
  var last: T {
    return self[self.endIndex - 1]
  }
