title: Where should we place our auto layout code?
body: <p>I usually set all my auto layout code in the updateCOnstratins method of my view controller for the constraints of all the subclasses defining the view. Then in the subviews I place my constraints in the updateConstraints methods there. This makes me have a property of every single view in my class so I can reference it later on after I set translates.... to false. But Im reading that you don't have to set it in updateConstraints. Just not I read an article where the person says an apple engineer said that if the constraints are only made once then you can put them pretty much where ever. Yet, if you have constrains that change during the views lifecycle you place them in updateConstraints? Here are the links <a href="http://swiftandpainless.com/where-to-put-the-auto-layout-code/" rel="nofollow noreferrer">http://swiftandpainless.com/where-to-put-the-auto-layout-code/</a> <a href="http://swiftandpainless.com/dont-put-view-code-into-your-view-controller/" rel="nofollow noreferrer">http://swiftandpainless.com/dont-put-view-code-into-your-view-controller/</a>.</p>
  
  <p>So where should It go? Was this just an old way of doing this and now it has changed?</p>