title: Update a UIViewController
body: <p>I use a Menu of &quot;code4app.net&quot; for my app and I have a problem. Source is here : <a href="http://code4app.net/ios/SlideMenuControllerSwift/54be0ed4e247412c488b4567" rel="nofollow noreferrer">click here</a></p>
  <p>I update a global var in one controller:</p>
  <pre><code>  func sendGlobalData(){
      globalCurrentUser = currentUser
  }
  </code></pre>
  <p>and I use it in another:</p>
  <pre><code>   override func viewDidLoad() {
      super.viewDidLoad()
      setBackButton()
      self.setNavigationBarItem()
      userProfilePicture.profileID = globalCurrentUser.profilePictureID
      userNameLabel.text = globalCurrentUser.username
  
  }
  </code></pre>
  <p>When I click on a menu's button I need to call again this viewDidLoad function.
  How can I do that?</p>