Changing the text of a UITextView from one view to another

I have a problem with my code. When I type in a UITextField in another view controller the value is saved in a variable (var oraDa: String!). I would like to change the text of a UITextView if the text typed is nil or is not nil. Here's the code: