title: Format currency with textField
body: <p>I have a <code>textField</code> which lets the user enter money. I don't want to only support the American dollar sign $. I want it to support all currency's. But the problem is, some dollar symbols are after the money (such as German: 27.99€).</p>
  
  <p>So the money symbol has to appear even before the user enters an amount. With Americans dollar symbol, it's easy, just do <code>$  .</code> But with others, such as €, I don't see how I can do it.</p>
  
  <p>My question is, how can I display the money symbol so it fit's the current currency?</p>
  
  <p>Also, if the user changes currency's, do the saved amounts of money also change automatically, or would I have to change it manually?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I tried the following:</p>
  
  <pre><code>NSNumberFormatter *currencyFormatter = [[[NSNumberFormatter alloc] init] autorelease];
  [currencyFormatter setLocale:[NSLocale currentLocale]];
  [currencyFormatter setMaximumFractionDigits:2];
  [currencyFormatter setMinimumFractionDigits:2];
  [currencyFormatter setAlwaysShowsDecimalSeparator:YES];
  [currencyFormatter setNumberStyle:NSNumberFormatterCurrencyStyle];
  </code></pre>
  
  <p>How can I make that appear in the <code>textField</code>?</p>