title: nil value after variable assignment
body: <p>I have a VC that contains of textField and button. I have a simple task to pass textField text data to my model entity. However, while I want to assign textField data to entity data, my data remains nil.
  I can't understand what have caused such problem</p>
  
  <pre><code>class InputTextViewController: UIViewController {
  
      @IBOutlet weak var messageTextField: UITextField!
  
      //I receive user from parent VC by segue
      var userSendMessageTo: User!
      var tableView: UITableView?
      var message: Message { return Message(userSendMessageTo) } 
      // initialising object of my entity class
  
      override func viewDidLoad() {
          super.viewDidLoad()
          print(userSendMessageTo.name)
          //name is right
      }
  
      func createMessage() {
          message.messageText = messageTextField.text
          message.messageTime = Date()
          print(message.messageText) //nil
          print(message.messageTime) //nil
  
      }
  
  
      @IBAction func sendMessge(_ sender: Any) {
  
          createMessage()
          userSendMessageTo.mesaageHistory.append(message)
  
          print(userSendMessageTo.mesaageHistory[0].messageText) //nil
      }
  </code></pre>
  
  <p>My model</p>
  
  <pre><code>class Message {
  
      var messageText: String?
      var messageTime: Date?
      var messageInage: UIImage?
      var user: User
  
      init(_ user: User) {
          self.user = user
      }
  
  }
  
  class User {
  
      let name: String
  
      var mesaageHistory = [Message]()
  
      init(name: String) {
          self.name = name
      }
  
  
  }
  </code></pre>