1) i have one text view which is subview of my main view and i am having one button on each view to switch between them .. what should i write in my ib action of two buttons... and i appreciate the answers .... 2)i have implemented text view with use of view controller and without view controller any one can suggest which one is better to display text on to my text view when button on my main view gets pressed