title: how to make autoresize textfield in swift
body: <p>I need to set up a TextField that automatically changes its width while typing. The size of textfield should change dynamically.
  I found the following solution but not getting how to use it exactly
  <a href="https://stackoverflow.com/questions/28389913/resize-textfield-based-on-content">Resize textField Based On Content</a></p>