title: How to clear static variables globally in Swift?
body: <p>There a logout feature for my application where I intend to clear all static variables that were created throughout the life of the login session. How can these static variables be cleared globally?</p>
  
  <p>Currently I'm setting all static variable individually to <code>nil</code> ex:</p>
  
  <p><code>staticVariableSessionID = nil</code></p>