title: Saving NSNumber core data
body: <p>how can i save a number within core data from a UITextField , i know its something stupid but its annoying and i cant get round it !</p>
  
  <p>im doing this right now and i keep getting nulls</p>
  
  <pre><code>NSLog(@"SaveData(CLIENT)");
  [self dismissKeyboard];
  Client *client = (Client *)[NSEntityDescription insertNewObjectForEntityForName:@"Client" inManagedObjectContext:managedObjectContext];
  
  client.dayOfService = dayOfServiceTextField.text;
  client.clientName = clientNameTextField.text;
  client.typeOfClient = typeofClientTextField.text;
  client.addressLine1 = addressln1TextField.text;
  client.addressLine2 = addressln2TextField.text;
  client.idCardNumber = idcardNumberTextField.text;
  
  
  telephoneTextField.text = telephoneNumber;
  NSNumberFormatter * f1 = [[NSNumberFormatter alloc] init];
  [f1 setNumberStyle:NSNumberFormatterDecimalStyle];
  NSNumber * parsedTelephone = [f1 numberFromString:telephoneNumber];
  NSLog(@"%@",parsedTelephone);
  
  [f1 release];
  
  client.telephone = parsedTelephone;
  </code></pre>