In storyboards add textView, connect IBOutlet noteView and delegate.