         let markerStartPosition = NSMakeRange(0, 0)
         selectedRange = markerStartPosition
     }
-    
-    /*
-    // Only override drawRect: if you perform custom drawing.
-    // An empty implementation adversely affects performance during animation.
-    override func drawRect(rect: CGRect) {
-        // Drawing code
-    }
-    */
 
 }

            }
        }

    }
    
    func textViewDidBeginEditing(textView: UITextView) {
        println()
    }
    
    func addPlaceholder(){

import UIKit


class PlaceholderTextView: UITextView {
    
    var placeholder: String!
    
    required init(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        NSNotificationCenter.defaultCenter().addObserver(self, selector: "textDidChange:", name: UITextViewTextDidChangeNotification, object: self)
    }
    
    deinit{
