title: Does iPhone SDK Objective C support functions inside of functions?
body: <p>I know that javascript, for example supports functions inside of functions, like so:</p>
  
  <pre><code>function doSomething(){
  
    function doAnothingThing(){
      //this function is redefined every time doSomething() is called and only exists inside doSomething()    
    }
  
    //you can also stick it inside of conditions
  
    if(yes){
      function doSomethingElse(){
        //this function only exists if yes is true
      }
    }
  
  
  }
  </code></pre>
  
  <p>Does objective-c support this? Theoretical example:</p>
  
  <pre><code> -(void) doSomething:(id) sender{
     -(void) respondToEvent: (id) sender{
       //theoretically? ... please?
     }
  }
  </code></pre>
  
  <p>BONUS: What is the proper term for a "local" function?</p>