title: iOS: How to run a function after Device has Rotated (Swift)
body: <p>I have one UIView which is not using Auto-Layout and some components are displayed based on their percent of X and Y co-ordinates from the main view.</p>
  
  <p>Previously I would have run a function to update their positions in didRotateFromInterfaceOrientation however I see this is now deprecated in iOS8.</p>
  
  <p>I've taken a look at viewWillTransitionToSize but it's giving weird results, and there doesn't appear to be a viewDidtransitionToSize function.</p>
  
  <p>Is there an easy way (in Swift) to run a function after a device rotation?</p>