title: Using UITextField for save file
body: <p>I use this function to Save a <code>MyFile.caf</code></p>
  
  <pre><code>NSString *nomeFile = self.nomeBastard.text;
  
  NSString *tempDir = NSTemporaryDirectory();
  NSString *soundFilePath = [tempDir stringByAppendingString:[NSString stringWithFormat:@"%@.caf", nomeFile]];//@"sound.caf"];
  NSString *outputSoundFilePath = [tempDir stringByAppendingString:[NSString stringWithFormat:@"%@0.caf", nomeFile]];//@"soundO.caf"];
  
  soundFileURL = [[NSURL alloc] initFileURLWithPath: soundFilePath];
  outputSoundFileURL = [[NSURL alloc] initFileURLWithPath: outputSoundFilePath];
  
  [[AVAudioSession sharedInstance] setActive:YES error:nil];
  </code></pre>
  
  <p>my <code>nomeBastard.text</code> have a default value (write your name and press REC) but on saved file the value don't change, I svae always one file .caf with the first value like a: </p>
  
  <p><strong>write your name and press REC.caf</strong></p>
  
  <p>How can I get the name from my <code>UITextField</code>? </p>
  
  <p>Here my screen first I change value on my text filed isert MyFileName</p>
  
  <p><img src="https://i.stack.imgur.com/VKWmb.png" alt="enter image description here"></p>
  
  <p>Whet TAP on Rec the App do not register file with name, but register 0.caf</p>
  
  <p><img src="https://i.stack.imgur.com/KVkkk.png" alt="enter image description here"></p>