title: Assign Some Text to particular line in UITextView Programmatically
body: <p>I create an instance of UITextView programmatically. I want to assign some text to particular line in UITextView programmatically. Here is my code to create UITextView.</p>
  
  <pre><code>UITextView *textView =[[UITextView alloc]init];
  textView.frame=CGRectMake(0,0,282,210);
  [textView setReturnKeyType:UIReturnKeyDone];
  [self.view addSubview:textView];
  </code></pre>
  
  <p>For example I want to add some text to particular line (at the end of line 5).</p>
  
  <p>Programmatically, how is it possible to do this?</p>