title: Swift nested class properties
body: <p>Does swift not have nested classes?? </p>
  
  <p>For example, I can't seem to access the property test of the master class from the nested class.</p>
  
  <pre><code>class master{
    var test = 2;
  
    class nested{
       init(){
         let example = test; //this doesn't work
       }
     }
   }
  </code></pre>